code: private void buttonCopyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonCopyActionPerformed
      StringSelection stringSelection = new StringSelection(this.editorPane.getSelectedText());
      final Clipboard clpbrd = Toolkit.getDefaultToolkit().getSystemClipboard();
      clpbrd.setContents(stringSelection, null);
    }
docs: GEN-LAST:event_buttonExportActionPerformed