FileDocCategorySizeDatePackage
SliderPanel.javaAPI DocExample7632Sat Sep 12 03:01:00 BST 1998None

SliderListener

public class SliderListener extends Object implements ChangeListener

Fields Summary
JLabel
tf
Constructors Summary
public SliderListener(JLabel f)

	    tf = f;
	
Methods Summary
public voidstateChanged(ChangeEvent e)

	    JSlider s1 = (JSlider)e.getSource();
		tf.setText("Slider Value: " + s1.getValue());