@Override
  public void paintBackground(Graphics g, JComponent component, int state) {
    if (!(component instanceof ActionButton)) failBecauseOfWrongComponent();

    ActionButton actionButton = (ActionButton)component;
    boolean isSelected = actionButton.isSelected();
    boolean isRollover = actionButton.isRollover();

    if (isRollover) {
      super.paintBackground(g, component, state);
    }
    else if (state == ActionButtonComponent.SELECTED && component.isEnabled()) {
      Rectangle rect = new Rectangle(component.getSize());
      JBInsets.removeFrom(rect, component.getInsets());
      if (!ExperimentalUI.isNewUI() || isSelected) {
        paintLookBackground(g, rect, JBUI.CurrentTheme.SearchOption.BUTTON_SELECTED_BACKGROUND);
      }
    }
  }
@Override
  public void paintBackground(Graphics g, JComponent component, int state)