title: Java JTree expand only level one nodes
body: <p>With a JTree, assuming the root node is level 0 and there may be up to 5 levels below the root, how can I easily expand all the level 1 nodes so that all level 1 &amp; 2 branches and leafs are visible but levels 3 and below aren't?</p>