public DefaultMutableTreeNode getNextNode ()

Returns the node that follows this node in a preorder traversal of this node's tree. Returns null if this node is the last node of the traversal. This is an inefficient way to traverse the entire tree; use an enumeration, instead.

Returns:  the node that follows this node in a preorder traversal, or null if this node is last

See also:
preorderEnumeration