static JTree jTree_hideRoot(JTree tree) { if (tree != null) swing { tree.setRootVisible(false); tree.setShowsRootHandles(true); } ret tree; }