getTreeCellRendererComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
This is messaged from JTree whenever it needs to get the size
of the component or it wants to draw it.
This is messaged from JTree whenever it needs to get the size
of the component or it wants to draw it.
This attempts to set the font based on value, which will be
a TreeNode.
paint is subclassed to draw the background correctly. JLabel
currently does not allow backgrounds other than white, and it
will also fill behind the icon. Something that isn't desirable.