L
lbrtchx
Check out Marti Hall's examples at:
~
http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JTree.html
~
on the last example "5.2. Replacing the Icons: Result"
~
if you declare your root node like this:
~
root = new DefaultMutableTreeNode();
~
you wont get any label for the root object, but some space shows
there anyway
~
How do you rid the space too?
~
THanks
lbrtchx
~
http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JTree.html
~
on the last example "5.2. Replacing the Icons: Result"
~
if you declare your root node like this:
~
root = new DefaultMutableTreeNode();
~
you wont get any label for the root object, but some space shows
there anyway
~
How do you rid the space too?
~
THanks
lbrtchx