Monthly Archives: August 2008

Enabling tooltips on a JTree


Thinks i keep forgetting. Today: Enabling a JTree in J2SE to show different tooltips on his nodes: 1. Create a custom tree renderer like so: import java.awt.Component;   import javax.swing.JTree; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultTreeCellRenderer;   public class TooltipTreeRenderer extends DefaultTreeCellRenderer { @Override public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int […]

Read the complete article »

Absurdistan (2)


Behold, here comes the iPhone app all retards have been waiting for: I Am Rich. Actually, i think it’s kinda funny, although i guess some people won’t get the joke. Edit: Oh and by the way, it seems, you’re never alone as the iPhone keeps iphoning ihome. ipuke, iguess.

Read the complete article »