aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes swing editing JTree nodes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing editing JTree nodes " Watch "swing editing JTree nodes " New topic
Author

swing editing JTree nodes

Mark Hui
Greenhorn

Joined: Jul 10, 2001
Posts: 1
I have a JTree and it displays a popup menu when the node is right click, my question is when the user wants to edit that particular node and he/she chooses selects " rename" from the popup menu how do I get the carat displayed on that selected node for editing. or how do I cause an event so the JtextField on the node starts Editing without any further mouse clicks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: swing editing JTree nodes