manager = new ExplorerManager();
AbstractNode rootNode = new AbstractNode(new SourceGroupsChildren(folders));
manager.setRootContext(rootNode);
// Create the templates view
BeanTreeView btv = new BeanTreeView();
btv.setRootVisible(false);
btv.setSelectionMode(javax.swing.tree.TreeSelectionModel.SINGLE_TREE_SELECTION);
btv.setBorder(SAMPLE_SCROLL_PANE.getBorder());
btv.setDefaultActionAllowed(false);
expandFirstLevel(btv);
folderPanel.add(btv, java.awt.BorderLayout.CENTER);
}