• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to hide Tree node according to some Criterions

 
sindy lee
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic