aspose file tools*
The moose likes Beginning Java and the fly likes Select a node in JTree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Select a node in JTree" Watch "Select a node in JTree" New topic
Author

Select a node in JTree

Sanjeev Charla
Ranch Hand

Joined: Apr 02, 2009
Posts: 90

Hi,

how to select a node in JTree?

Thank you.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18887
    
    8

Click on it with your mouse.

Or did you have something else in mind? Your question wasn't very specific.
Sanjeev Charla
Ranch Hand

Joined: Apr 02, 2009
Posts: 90

Ok ok,

how to select a node in JTree programmatically?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
click the link (dotted underline) in your last post and read the docs - it's all there.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Select a node in JTree