public void setExtent(int extent) {
public void setExtent(int extent) { extent = Math.max(extent, 0); if (value + extent > maximum) extent = maximum - value;
	public void setExtent(int extent) {		// Validate Constraints		if (minimum > value || value > (value + extent) ||			(value + extent) > maximum) {			throw new IllegalArgumentException("Invalid extent property set");		} // if				// Set Extent		this.extent = extent;				// Notification		fireStateChanged();	} // setExtent()