FileDocCategorySizeDatePackage
DialApplet.javaAPI DocExample654Wed Mar 05 15:52:12 GMT 1997None

DialApplet

public class DialApplet extends Applet implements DialListener, AdjustmentListener

Fields Summary
final int
max
Scrollbar
scrollbar
Dial
dial
Constructors Summary
Methods Summary
public voidadjustmentValueChanged(java.awt.event.AdjustmentEvent e)

		dial.setValue( e.getValue() );
	
public voiddialAdjusted(DialEvent e)

		scrollbar.setValue( e.getValue() );
	
public voidinit()


	   
		setLayout( new BorderLayout() );
		dial.addDialListener( this );
		add( "Center", dial );
		scrollbar.addAdjustmentListener( this );
		add( "South", scrollbar );