code: private void jButtonApplyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonApplyActionPerformed
          parent.setText(getParamsString());
          getAssociatedDialog().dispose();
      }
docs: GEN-LAST:event_jButtonCancelActionPerformed