targetToNodeTable = new HashMap();
// Create help tree
rootNode = new HelpNode();
rootTreeNode = new DefaultMutableTreeNode();
DefaultTreeModel treeModel = new DefaultTreeModel(rootTreeNode);
helpTree = new JTree();
helpTree.setModel(treeModel);
helpTree.setRootVisible(false);
helpTree.setShowsRootHandles(true);
helpTree.addTreeSelectionListener(this);
// Renderer
DefaultTreeCellRenderer helpTreeRenderer = (DefaultTreeCellRenderer) helpTree.getCellRenderer();
helpTreeRenderer.setOpenIcon(resources.getIcon("folderIcon"));
helpTreeRenderer.setClosedIcon(resources.getIcon("folderIcon"));
helpTreeRenderer.setLeafIcon(resources.getIcon("leafIcon"));
createHelpContents();
// Create help search panel
// search tree
searchRootTreeNode = new DefaultMutableTreeNode();
searchTreeModel = new DefaultTreeModel(searchRootTreeNode);
searchTree = new JTree();
searchTree.setModel(searchTreeModel);
searchTree.setRootVisible(false);
searchTree.setShowsRootHandles(true);