private void stopEdit(@NotNull KeyEvent event) {
      event.consume();
      setVisible(false);
      myPatternList.setEnabled(true);
      myPatternList.requestFocus();
    }
private void stopEdit(@NotNull KeyEvent event)