question: protected void expandAllPaths ( TreePath path , TreeModel treeModel ) { expandPath ( path ) ; final Object node = path . getLastPathComponent ( ) ; final int n = treeModel . getChildCount ( node ) ; for ( int index = 0 ; index < n ; index ++ ) { final Object child = treeModel . getChild ( node , index ) ; expandAllPaths ( path . pathByAddingChild ( child ) ) ; } }
target:  Opens all paths in the given node and all nodes below that.