public synchronized void setUnitIncrement(int unitIncrement) { if (unitIncrement < 0) throw new IllegalArgumentException("Unit increment less than zero.");  int range = maximum - minimum; if (unitIncrement > range) { if (range == 0) unitIncrement = 1; else unitIncrement = range; }  if (unitIncrement == lineIncrement) return;  lineIncrement = unitIncrement;  ScrollbarPeer sp = (ScrollbarPeer) getPeer(); if (sp != null) sp.setLineIncrement(lineIncrement); }
setUnitIncrement(int unitIncrement) { setLineIncrement (unitIncrement); }
	public synchronized void setUnitIncrement(int unitIncrement) {		if (unitIncrement < 0)			throw new IllegalArgumentException("Unit increment less than zero.");		int range = maximum - minimum;		if (unitIncrement > range) {			if (range == 0)				unitIncrement = 1;			else				unitIncrement = range;		}		if (unitIncrement == lineIncrement)			return;		lineIncrement = unitIncrement;		ScrollbarPeer sp = (ScrollbarPeer) getPeer();		if (sp != null)			sp.setLineIncrement(lineIncrement);	}