This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to hide Tree node according to some Criterions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to hide Tree node according to some Criterions" Watch "How to hide Tree node according to some Criterions" New topic
Author

How to hide Tree node according to some Criterions

sindy lee
Greenhorn

Joined: Aug 05, 2010
Posts: 14
I saw the example under : http://www.java2s.com/Code/Java/Swing-Components/InvisibleNodeTreeExample.htm

Now i want to hide many nodes at the same time according to some conditions(for example: Date, after a mouse click action on a calendar, some nodes in this tree should be hided), but not hiding just only one node and only after user selection. How can i do that? I thought, that i can't do that without "tree selection", But I hope i was wrong, there must be some solutions.

Thanks
 
Consider Paul's rocket mass heater.
 
subject: How to hide Tree node according to some Criterions
 
Similar Threads
How to hide a tree node from the GUI, URGENT!
Memory Allocation for Multi-nomial Tree Recursion
listening to events when Child node changes?
How to make a tree node un expandable?
tree display