public synchronized void setValues(int value, int visibleAmount, int minimum, int maximum) {
setValues(int value, int visibleAmount, int minimum, int maximum) {
	public synchronized void setValues(int value, int visibleAmount, int minimum, int maximum) {		if (maximum < minimum)			maximum = minimum;		if (value < minimum)			value = minimum;		if (value > maximum)			value = maximum;		if (visibleAmount > value)			visibleAmount = value;		this.value = value;		this.visibleAmount = visibleAmount;		this.minimum = minimum;		this.maximum = maximum;		ScrollbarPeer sp = (ScrollbarPeer) getPeer();		if (sp != null)			sp.setValues(value, visibleAmount, minimum, maximum);		int range = maximum - minimum;		if (lineIncrement > range) {			if (range == 0)				lineIncrement = 1;			else				lineIncrement = range;			if (sp != null)				sp.setLineIncrement(lineIncrement);		}		if (pageIncrement > range) {			if (range == 0)				pageIncrement = 1;			else				pageIncrement = range;			if (sp != null)				sp.setPageIncrement(pageIncrement);		}	}