}
if (selectionPath.getPathCount() >= 2) {
final ComponentTreeNode selectedNode = (ComponentTreeNode) selectionPath
.getPath()[1];
ComponentRegistry registry = selectedNode.getComponentRegistry();
final ComponentTreeNode componentTree = registry.getComponentTree();
SwingUtilities.invokeLater(new Runnable() {
public void run() {
ComponentTreeNode root = ComponentSelector.this.treeModel
.getRoot();