How to change a jtree node from program

Hi,

I have a jtree and some nodes in it.

Now i want to change a particular tree node object from program (not thro ui).

how can i change that?

am seeing methods

model.insertNodeInto()

model.removeNodeFromParent()for adding & deleting.

Is there a way to change a node?

TIA

[336 byte] By [ganeshaa8a] at [2007-11-26 12:54:50]
# 1
Yes. Just make the change to whatever node you want. http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html#dynamic
zadoka at 2007-7-7 16:47:19 > top of Java-index,Desktop,Core GUI APIs...