I have made aJTree which has JCheckBoxs on it's every Node. I have done so by using a custom class which implements TreeCellRenderer and has a method for getTreeCellRendererComponent(). How can implement the following: At the selection of a Node all it's subsequent parent nodes are selected. They will be greyed to show the partial selection. Once all the items are selected the color cahnges back to white.
Zhao Fu Qiang
posted 13 years ago
hi, prasad pooja: We have implements this behavior, and plan to release a component like this, named XTree, if you need help, please contact us!