code: private void menuEditCopyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuEditCopyActionPerformed
      final TabTitle title = this.getFocusedTab();
      if (title != null && title.getProvider().doesSupportCutCopyPaste()) {
        title.getProvider().doCopy();
      }
      updateMenuItemsForProvider(title == null ? null : title.getProvider());
    }
docs: GEN-LAST:event_menuFileMenuDeselected