![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e1021. Getting the Selected Nodes in a JTree Component// Create tree JTree tree = new JTree(); // Get paths of all selected nodes TreePath[] paths = tree.getSelectionPaths();
© 2002 Addison-Wesley. |