I use a JTee where the elements are loaded dynamically. I want to set the tool tip only for the leaf elements. But it is setting to the entire tree.
How can i achieve this?
Thanks Archana
Brian Cole
Author
Ranch Hand
Joined: Sep 20, 2005
Posts: 852
posted
0
Originally posted by Archana Venu Aradhyula: I use a JTee where the elements are loaded dynamically. I want to set the tool tip only for the leaf elements. But it is setting to the entire tree.
It's hard to say without knowing more details, but two things to try are
call setToolTipText(null) even when !(value instanceof VPDTreeViewerNode)