code: private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
          feedback = UserFeedback.Ok;
          synchronized (WAITER_LOCK) {
              okButton.setEnabled(false);
              cancelButton.setEnabled(false);
              WAITER_LOCK.notifyAll();
          }
      }
docs: </editor-fold>//GEN-END:initComponents