protected void paintArrowButton(Graphics g,
                                  BasicArrowButton button,
                                  @MagicConstant(intValues = {SwingConstants.NORTH, SwingConstants.SOUTH}) int direction) {
    Insets i = spinner.getInsets();
    int x = (button.getWidth() - i.right - ARROW_WIDTH.get()) / 2;
    int y = direction == SwingConstants.NORTH ?
            button.getHeight() - JBUIScale.scale(2) :
            JBUIScale.scale(2);

    button.paintTriangle(g, x, y, 0, direction, spinner.isEnabled());
  }
protected void paintArrowButton(Graphics g,
                                  BasicArrowButton button,
                                  @MagicConstant(intValues = {SwingConstants.NORTH, SwingConstants.SOUTH}) int direction)