@Override
    protected void paintIcon(@NotNull Graphics g, @NotNull Icon icon) {
      if (myEnableButtons) {
        icon.paintIcon(this, g, 0, 0);
      }
    }
@Override
    protected void paintIcon(@NotNull Graphics g, @NotNull Icon icon)