JTree - How to Expand all Nodes in the Tree

I have a tree that has one primary node, two sub-nodes, and multiple sub-sub-nodes under those. I want to expand (show) all these nodes in the tree when the tree first loads. I tried expandRow() but that only seems to expand one row at a time by entering a single integer for the row. Is there any way to expand all rows/nodes when loading the tree?

[363 byte] By [cygnus] at [2007-9-26 2:24:45]
# 1
see http://forum.java.sun.com/thread.jsp?forum=57&thread=148793
Titie at 2007-6-29 9:34:39 > top of Java-index,Archived Forums,Swing...