how to rename a node in JTree when user clicks on the pop-up menu associated with the tree
Posted on 2001-07-03
I need to rename a node in a JTree. I can do it by setting JTree's setEditable to be true, but that is not what i want.
What i really want is that the users can right click on the pop-up menu "Rename" and then change the node name, just exactly like what the the window explorer does.
Please help me.