Ejemplo n.º 1
0
  @Override
  public void actionPerformed(ActionEvent e) {

    final JComponent source = (JComponent) e.getSource();

    TabManager.createTab(source.getName());
  }