@Override
  public @NotNull JComponent createCustomComponent(@NotNull Presentation presentation, @NotNull String place) {
    boolean newUI = ExperimentalUI.isNewUI() && ActionPlaces.MAIN_TOOLBAR.equals(place);
    return new ActionButton(this, presentation, place,
                            newUI ? ActionToolbar.experimentalToolbarMinimumButtonSize() : ActionToolbar.DEFAULT_MINIMUM_BUTTON_SIZE) {
      @Override
      protected void paintButtonLook(Graphics g) {
        Icon icon = getIcon();
        if (icon instanceof ComboIcon comboIcon) {
          comboIcon.paintButton(this, getButtonLook(), g);
        }
        else {
          super.paintButtonLook(g);
        }
      }
    };
  }
@Override
  public @NotNull JComponent createCustomComponent(@NotNull Presentation presentation, @NotNull String place)