Hello,
I wish to have a JTree that when you
click on a node it would activate(bring focus) to
a particular tab in a multi-tab pane.
Sample code would be really appreciated.
Sincerely,
Paluee
Printable View
Hello,
I wish to have a JTree that when you
click on a node it would activate(bring focus) to
a particular tab in a multi-tab pane.
Sample code would be really appreciated.
Sincerely,
Paluee
implements TreeSelectionListener to do what you want
and visit How to Use Trees (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Swing Components) for reference