Code example for JSlider

Methods: getMaximum

0
		public void setMinimum(long minimum) {
			slider.setMinimum(getScaledValue(minimum));
		} 
 
		public long getMaximum() { 
			return getActualValue(slider.getMaximum());
		} 
 
		public void setMaximum(long maximum) {
			slider.setMaximum(getScaledValue(maximum));
		} 
 
		public void setExtent(int extent) {
			slider.setExtent(Math.max(getScaledValue(extent) / extent, 1));
		} 
 
		public void setMajorTickSpacing(long n) {
			slider.setMajorTickSpacing(getScaledValue(n));
		}