@Override
    public void requestFocus() {
      if (!myCustomFocus) {
        IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(() -> super.requestFocus());
      }
      else {
        requestDefaultFocus();
      }
    }
@Override
    public void requestFocus()