On 21 Nov 2005 05:56:09 -0800, "soup_or_power@yahoo.com"
<soup_or_power@yahoo.com> wrote, quoted or indirectly quoted someone
who said :
>How can I list all the nodes in a JTree?
method 1.
find all the nodes in the root. Then recursively call your function
on each of those nodes.
method 2,
read up on the visitor pattern.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
DefaultMutableTreeNode#depthFirstEnumeration()
DefaultMutableTreeNode#breadthFirstEnumeration()

Signature
Andrey Kuznetsov
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities