Method getSelectionCount()
Return type: int
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 if (tree.getSelectionCount() == 1) {
2 boolean f = jTreeDOM.getSelectionCount() != 0;
3 if (getSelectionCount() != 1) {
4 new ReverseDbTreeNode[jtree.getSelectionCount()];
5 if (tree.getSelectionCount() < 2)
6 if (getSelectionCount() == 0) {
7 boolean enable = m_tree.getSelectionCount()!=0;
8 if (getSelectionCount() > 1) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.