// list
ontologyList = new JList(new DefaultListModel());
ontologyList.addListSelectionListener(this);
ontologyList.setMinimumSize(new Dimension(1,1));
ontologyList.setCellRenderer(new ResourceCellRenderer());
//panel.add(scroll1,BorderLayout.CENTER);
// info
ontologyInfo = new JEditorPane();
ontologyInfo.setContentType("text/html; charset=UTF-8");
ontologyInfo.setEditable(false);
ontologyInfo.setMinimumSize(new Dimension(1,1));
// root selector
rootList = new JList(new DefaultListModel());
rootList.setCellRenderer(new ResourceCellRenderer());
JToolBar toolbar = new JToolBar();
JButton add = new JButton(new ImageIcon(ADD_ICON));
add.setToolTipText("Add Class Tree");
add.setActionCommand("add");
add.addActionListener(this);