return visibleRect.width * direction;
{ int rowHeight = getRowHeight(); if (rowHeight > 0) block = Math.max(rowHeight, (visibleRect.height / rowHeight) * rowHeight); else block = visibleRect.height; } return block;
  public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)  {    if (orientation == SwingConstants.VERTICAL)      return visibleRect.height * direction;    else      return visibleRect.width * direction;  }