Hi,
I am using org.dom4j.swing.DocumentTreeModel to display a Document in JTree.
My question is: When I add nodes to this Document in the DocumentTreeModel, I am unable to update the display other than by calling model.reload().
The problem with reload is that it does not remember all the TreePath’s that were open before reloading the model.
So, can someone please tell me the best way to add nodes to update a DocumentTreeModel.
I appreciate your help.
Thanks, -Sri |