I have JTree with 10 levels. How can I show the root and the first level nodes only (NO grand-children) in a JTree? Thanks. [ October 22, 2002: Message edited by: pavan in ]
I assume you have some sort of TreeNodes. I haven't tried the following but you can try something like this. You may have a better way to determine what is the root node.
LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.