TreeNode n = (TreeNode) enum.nextElement();
TreeNode n = (TreeNode) enummeration.nextElement();
    private void expand( JTree tree, TreePath parent, boolean expand )    {        TreeNode node = (TreeNode) parent.getLastPathComponent();        if( node.getChildCount() >= 0 )        {            Enumeration enum = node.children();            while( enum.hasMoreElements() )            {                TreeNode n = (TreeNode) enum.nextElement();                TreePath path = parent.pathByAddingChild( n );                expand( tree, path, expand );            }        }