| Author |
Edit Values in a JTree
|
Natraj Gudla
Ranch Hand
Joined: Feb 09, 2003
Posts: 34
|
|
Hi, I have a Jtree , which maintains the status of all of its tree nodes whether they are collapsed or expanded... Now...from this tree , when the user renames one of the tree node.. how do i change the node name in the Jtree and its representation in the tree.. In the sense i want to know how can i edit the Nodes in a Tree.. In my implementation , I use a TreePath to represent a node. can any one help me?... regards
|
 |
Venkata Cherukuri
Greenhorn
Joined: Sep 07, 2003
Posts: 12
|
|
|
get hold of the node- have some set/get methods for the node functions, then u set the name for the node in the rename operation- and reload the model
|
 |
 |
|
|
subject: Edit Values in a JTree
|
|
|