Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

To get a JTree current node  RSS feed

 
thomas jacob
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get the current node from a JTree?

Regards
Thomas
 
Peter Taucher
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!

That would be the "selected" node, I guess? There're a few possible ways, for example:



Look here for further infos:
http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

bye, Peter
[ November 23, 2006: Message edited by: Peter Taucher ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!