Code example for JSlider

Methods: setPaintTicks

0
			slider.setMajorTickSpacing(getScaledValue(n));
		} 
		 
		public void setPaintTicks (boolean b)
		{ 
			slider.setPaintTicks (b) ;
		} 
 
		public JComponent getComponent ()
		{ 
			return slider ;
		} 
 
		public void addChangeListener(ChangeListener changeListener) {
			slider.addChangeListener(changeListener) ;
		} 
		 
		public void showLabel (boolean b, boolean si)
		{ 
			if (b)