• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find selected nodes of a tree

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to get the selected nodes of a tree.
**I am able to get the count of selected nodes through : JTree.getSelectionModel().getSelectionCount();
**Plz tell me if there is any direct way to get the selected nodes of a tree
Thanx
 
pradeep selvaraj
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could do something like this
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!