File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: swing editing JTree nodes
It's not a secret anymore!