@Override
  public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) {
    if (orientation == SwingConstants.HORIZONTAL) {
      return visibleRect.width;
    }
    return visibleRect.height;
  }
@Override
  public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)