Ok, well I have a method that builds the tree. I would think that all of this is essential:
public void buildTree(Location o,Location d,int deptTime)
{
DefaultTreeModel model =...
Type: Posts; User: aussiemcgr
Ok, well I have a method that builds the tree. I would think that all of this is essential:
public void buildTree(Location o,Location d,int deptTime)
{
DefaultTreeModel model =...
Ok, so I figured that out by looping through until the root is a leaf and removing nodes using the DefaultTreeModel.removeNodeFromParent() method.
Now I have a new problem.
The reason I wanted...
I just have a quick question.
I have a JTree with X number of Nodes and X number of levels and I wanted to know how I would go about removing all of the nodes from the JTree, with the exception...