File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Using Custom Tree Cell rendering 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 » Swing / AWT / SWT
Bookmark "Using Custom Tree Cell rendering" Watch "Using Custom Tree Cell rendering" New topic
Author

Using Custom Tree Cell rendering

Pooja Prasad
Greenhorn

Joined: Mar 28, 2003
Posts: 3
Using custom Tree cell rendering, i have coded for a JTree to have check-boxs on each of it's node. As a node is selected, all its parents up the hierarchy are automatically selected. When a parent node's checkbox is selected all it's childs are selected. One can then manually go and un-select the child node as pr requirement.
How do i implement the following: Once a child is unselected. All it's parent nodes up the hierarchy should be Greyed to indicate partial selection.
 
 
subject: Using Custom Tree Cell rendering
 
Similar Threads
deletion of Node in JTree
Refresh dynamic tree in tapestry
Tree structure retrieval from Database
Tree data with multiple top nodes
Tree Cell Renderer