How to hide a tree node from the GUI, but still keep it in tree model?
0 posts in topic
Flat View  Flat View

Posted By:   Linda_Xu
Posted On:   Friday, December 14, 2001 11:16 AM

Hi, All
I used a JTree in my project in which I have a DefaultTreeModel to store all the tree structure and a JTree show it on the screen. But for some reason, I want to hide some of the nodes from the user, but I don't want to remove them from the tree model because later on I still need to use them.

How can I hide some of the tree node from the user? Thanks for any information.


About | Sitemap | Contact