@Override
  Area getButtonBounds(Component c) {
    Rectangle bounds = null;
    if (c instanceof JSpinner && ((JSpinner)c).getUI() instanceof MacIntelliJSpinnerUI ui) {
      bounds = ui.getArrowButtonBounds();
    }
    return bounds != null ? new Area(bounds) : new Area();
  }
@Override
  Area getButtonBounds(Component c)