void (DefaultMutableTreeNode root, boolean expandAll) { myTreeTablePanel.removeAll(); final JScrollPane treeTable = createTable(root); if (expandAll) { TreeUtil.expandAll(myTreeTable.getTree()); } myTreeTablePanel.add(treeTable); myTreeTablePanel.revalidate(); }