getTextComponent(event).copy();
JTextComponent target = getTextComponent(event); if (target != null) target.copy();
      public void actionPerformed(ActionEvent event)      {      getTextComponent(event).copy();    }