void (String qualifiedName) { /*ApplicationManager.getApplication().invokeLater(new Runnable() { public void run() {*/ DefaultMutableTreeNode node = findNodeForPackage(qualifiedName); if (node != null) { TreePath path = new TreePath(node.getPath()); TreeUtil.selectPath(myTree, path); } /* } }, ModalityState.stateForComponent(getRootPane()));*/ }