A
Arun
Hi,
My program starts by loading an xml file to a JTree. It does so by
building up a rootNode, adding this to a TreeModel to the JTree.
Like buildTree = new JTree(treeModel).
How do i go about loading a complete new xml file, which creates a
complete new rootNode etc, which will in turn change the contents of
the JTree.
I tried adding this new rootNode to the treemodel, but this doenst
update the JTree.
My program starts by loading an xml file to a JTree. It does so by
building up a rootNode, adding this to a TreeModel to the JTree.
Like buildTree = new JTree(treeModel).
How do i go about loading a complete new xml file, which creates a
complete new rootNode etc, which will in turn change the contents of
the JTree.
I tried adding this new rootNode to the treemodel, but this doenst
update the JTree.