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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing editing JTree nodes " Watch "swing editing JTree nodes " New topic

swing editing JTree nodes

Mark Hui

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
Consider Paul's rocket mass heater.
subject: swing editing JTree nodes