logicdisaster |
09-23-2004 12:05 PM |
How do i refresh a jtree?
ive created two drag and drop jtrees which both use the same model. When i drop something its always a move so i have it copy the node remove the node from the model then insert the node into its new parent the problem is that the jtree doesnt show the change in structure unless i close all the nodes and deselect them then reopen them. Is there a way to refresh the tree without having to make the user close up the tree and deselect everything then reopen the nodes again
|