@Override
      protected void textChanged(final @NotNull DocumentEvent e) {
        // note that checkOkButton is called in other listener
        myButton.setEnabled(myTextField.getText().trim().length() != 0);
      }
@Override
      protected void textChanged(final @NotNull DocumentEvent e)