code: private void listFoundFilesMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_listFoundFilesMouseClicked
      if (evt.getClickCount()>1 && !evt.isPopupTrigger() && this.listFoundFiles.getSelectedIndex()>=0) {
        UiUtils.closeCurrentDialogWithResult(this, this.dialogOkObject);
      }
    }
docs: GEN-LAST:event_textFieldMaskKeyPressed