public BrowserController(JTree tree, LDAPConnectionPool cpool,
IconPool ipool)
{
this.tree = tree;
iconPool = ipool;
rootNode = new RootNode();
rootNode.setIcon(iconPool.getIconForRootNode());
treeModel = new DefaultTreeModel(rootNode);
tree.setModel(treeModel);
tree.addTreeExpansionListener(this);
tree.setCellRenderer(new BrowserCellRenderer());