GeeCON Prague 2014*
The moose likes Swing / AWT / SWT and the fly likes JTree and pop up menus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree and pop up menus" Watch "JTree and pop up menus" New topic
Author

JTree and pop up menus

Sid Scud
Ranch Hand

Joined: Mar 13, 2001
Posts: 32
Hi All,
I am doing a chat application (something similar to AOL). I have a JTREE in which i have the list of friends. When I right click on a node i am displaying a pop up menu which has options
1) Add
2) Remove
3) Edit
On clicking the Edit option, I want to make the node editable. I am not able to do it. Can someone help???
-Sid
John Smith
Ranch Hand

Joined: Jul 20, 2001
Posts: 84
Have you tried:
 
GeeCON Prague 2014
 
subject: JTree and pop up menus