MapReader[] readers; try{ readers = (MapReader[]) pluginLoader.getReaders(); ta.setText(readers[index].getDescription()); }catch (Throwable t) { t.printStackTrace(); } ta.setEditable(false); ta.setFont(new Font("SanSerif", Font.PLAIN, 11)); info.getContentPane().add(ta); info.setLocationRelativeTo(this); info.pack(); info.setVisible(true);
    public void actionPerformed(ActionEvent e) {        String command = e.getActionCommand();                if(command.equalsIgnoreCase("close")) {        	this.dispose();        }else if(command.equalsIgnoreCase("remove")) {        	        }else if(command.equalsIgnoreCase("info")) {        			}    }