public void reset ( ) { Enumeration < TreeNode > children = root . children ( ) ; while ( children . hasMoreElements ( ) ) { removeNodeFromParent ( ( MutableTreeNode ) children . nextElement ( ) ) ; children = root . children ( ) ; } }
Remove all the nodes from the Tree