Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Retrieving String specified Node in JTree  RSS feed

 
Nicolas Viollin
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !!
I would like to retrieve a String specified node (let say "Hello world") from my JTree, How do I do that ???
thnx
Nico
 
Vinod Chamoli
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
you can get string name of the node clicked. For this you need to implement TreeExpansionListener.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!