The program I am working on has recently switched from a JTree to a JIDE checkbox tree. The tree is only 3 levels deep with the first being the root which is hidden in the GUI.
What I'm looking to do is somehow stop users from selecting a node at the second level if that node has no children. I was wondering if there is some way to either hide the checkbox for that node or disable it so the user cannot select it.