posted 20 years ago
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.