public synchronized void setBlockIncrement(int blockIncrement) { if (blockIncrement < 0) throw new IllegalArgumentException("Block increment less than zero.");  int range = maximum - minimum; if (blockIncrement > range) { if (range == 0) blockIncrement = 1; else blockIncrement = range; }  if (blockIncrement == pageIncrement) return;  pageIncrement = blockIncrement;  ScrollbarPeer sp = (ScrollbarPeer) getPeer(); if (sp != null) sp.setPageIncrement(pageIncrement); }
setBlockIncrement(int blockIncrement) { setPageIncrement (blockIncrement); }
	public synchronized void setBlockIncrement(int blockIncrement) {		if (blockIncrement < 0)			throw new IllegalArgumentException("Block increment less than zero.");		int range = maximum - minimum;		if (blockIncrement > range) {			if (range == 0)				blockIncrement = 1;			else				blockIncrement = range;		}		if (blockIncrement == pageIncrement)			return;		pageIncrement = blockIncrement;		ScrollbarPeer sp = (ScrollbarPeer) getPeer();		if (sp != null)			sp.setPageIncrement(pageIncrement);	}