DefaultMutableTreeNode getNextVisibleNode(DefaultMutableTreeNode node)
TreeNode getNextVisibleNode(TreeNode node)
   DefaultMutableTreeNode getNextVisibleNode(DefaultMutableTreeNode node)   {      DefaultMutableTreeNode next = null;      TreePath current = null;      if (node != null)         next = node.getNextNode();      if (next != null)      {         current = new TreePath(next.getPath());         if (tree.isVisible(current))            return next;         while (next != null && !tree.isVisible(current))         {            next = next.getNextNode();            if (next != null)               current = new TreePath(next.getPath());         }      }      return next;   }