void (DefaultMutableTreeNode node) { JTree tree = myTreeTable.getTree(); TreePath path = new TreePath(node.getPath()); tree.expandPath(path.getParentPath()); int row = tree.getRowForPath(path); myTreeTable.getSelectionModel().setSelectionInterval(row, row); myTreeTable.scrollRectToVisible(myTreeTable.getCellRect(row, 0, true)); IdeFocusManager.getInstance(myProject).requestFocus(myTreeTable, true); }