File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to hide Tree node according to some Criterions
 
Similar Threads
listening to events when Child node changes?
Memory Allocation for Multi-nomial Tree Recursion
How to make a tree node un expandable?
tree display
How to hide a tree node from the GUI, URGENT!