Hi,
I'm fairly new with JTrees and in fact,
Java on the whole. I've created a JTree with JCheckBoxes as the nodes. How do you implement listeners on such a component? For eg, can I use an ItemEvent listener for the checkboxes, while using a TreeSelectionListener for the nodes? I want to be able to get the data at the node that was checked, which my tre does right now, but also when the box is deselected, I want to perform some action. Can this be done with an ItemListener on the checkbox??
Please, any assistance is appreciated. It's urgent!