@SuppressWarnings("unchecked")
        @Override
        public void mouseClicked(MouseEvent e) {
            JList<String> list = (JList<String>) e.getSource();
            if(e.getClickCount() == 2){
                int index = list.locationToIndex(e.getPoint());
                ListModel<String> dlm = list.getModel();
                String item = dlm.getElementAt(index);
                list.ensureIndexIsVisible(index);
                
                for(LearningPlugin plugin : loadedPlugins){
                    if(plugin.getName().equals(item)){
                        currentSelected = plugin;
                        updateLabel();
                    }
                }
            }
        }