I'm using the class "DynamicTree" provided by sun:here is the link
I wanted to know if it's possible to edit the code in some way to make the tree root name editable.
I'm using the class "DynamicTree" provided by sun:here is the link
I wanted to know if it's possible to edit the code in some way to make the tree root name editable.
You can make the tree node editable by modifying tree properties, i.e you need to make the tree editable by making this code change:
tree.setEditable(true)
But note that with this change the rename of node is possible (for the demo code referred in the tutorial) by pressing the F2 key.