code: private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
          // TODO add your handling code here:
          OkapiUI.compositeInputField.setText(compositeText.getText());
          dispose();
      }
docs: GEN-LAST:event_cancelButtonActionPerformed