});
setupDirectoryTree(directory, false);
this.add(new DirectoryTitleArea(bundle.getString("DIRECTORY"), null), BorderLayout.NORTH);
rootNode.removeAllChildren();
View topManifestation = (View)rootNode.getUserObject();
if (topManifestation.getViewListener() != null) {
TreeExpansionEvent event = new TreeExpansionEvent(rootNode.getParentTree(), null);
topManifestation.getViewListener().actionPerformed(event);
}
// setup handlers (previously in Bookmark)
AbstractComponent parentComponent = ((View) rootNode.getUserObject()).getManifestedComponent();
View activeManifestation = parentComponent.getViewInfos(ViewType.NODE).iterator().next().createView(parentComponent);
activeManifestation.setOpaque(false);
activeManifestation.addMouseMotionListener(new WidgetDragger());
activeManifestation.setTransferHandler(new WidgetTransferHandler());
activeManifestation.addMouseListener(new MCTWindowOpener(parentComponent));
activeManifestation.addMouseListener(new MCTPopupOpener(parentComponent, activeManifestation));
// populate tabbed pane
JComponent spUI = null;
List<JComponent> UIs = new ArrayList<JComponent>();
DirectoryTreePanel treePanel = new DirectoryTreePanel( );