Adds the node identified by the specified TreePath to the current selection. If any component of the path isn't viewable, and getExpandsSelectedPaths is true it is made viewable. Note that JTree does not allow duplicate nodes to exist as children under the
(TreePath path)
| 1750 | * @param path the <code>TreePath</code> to add |
| 1751 | */ |
| 1752 | public void addSelectionPath(TreePath path) { |
| 1753 | getSelectionModel().addSelectionPath(path); |
| 1754 | } |
| 1755 | |
| 1756 | /** |
| 1757 | * Adds each path in the array of paths to the current selection. If |
no test coverage detected