Method setSelectionModel(TreeSelectionModel selectionModel)
Return type: void
Member of: javax.swing.JTree
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 tree.setSelectionModel(selectionModel);
2 tree.setSelectionModel(new DefaultTreeSelectionModel() {
3 tree.setSelectionModel(selectionWrapper);
4 tree.setSelectionModel(selectionModel);
5 tree.setSelectionModel(selectionWrapper);
6 tree.setSelectionModel(selectionWrapper);
7 tree.setSelectionModel(treeSelect);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.