if (orientation == SwingConstants.VERTICAL) return visibleRect.height * direction;
int block; if (orientation == SwingConstants.HORIZONTAL) { block = visibleRect.width; }
  public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)  {    if (orientation == SwingConstants.VERTICAL)      return visibleRect.height * direction;    else      return visibleRect.width * direction;  }