@Override
  public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) {
    if (orientation == SwingConstants.HORIZONTAL) {
      return myUnitWidth;
    }
    else {
      return myUnitHeight;
    }
  }
@Override
  public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)