@Override
  protected @NotNull EditorEx createEditor() {
    EditorEx result = super.createEditor();

    result.addFocusListener(new FocusChangeListener() {
      @Override
      public void focusGained(@NotNull Editor editor) {
        repaintComboBox();
      }

      @Override
      public void focusLost(@NotNull Editor editor) {
        repaintComboBox();
      }
    });

    return result;
  }
@Override
  protected @NotNull EditorEx createEditor()