Say that my JTree consists of the following nodes.
new DefaultMutableTreeNode("DisplayThisTextOnly {donotdisplaystringsinhere}");
how can i hide text between and turning {} from display using TreeCellRenderer?
when i select this node i want to get the whole row again.
"DisplayThisTextOnly {donotdisplaystringsinhere}"
Basically my goal is to be able to extract additional data from a given node tree without the need setObject()
source
share