FileDocCategorySizeDatePackage
DoodlePad.javaAPI DocExample1470Wed Mar 26 02:33:08 GMT 1997None

DoodlePad

public class DoodlePad extends Applet implements ActionListener

Fields Summary
DrawPad
dp
Constructors Summary
Methods Summary
public voidactionPerformed(java.awt.event.ActionEvent e)

System.out.println("clear!");
		dp.clear();
	
public voidinit()

		setLayout( new BorderLayout() );
		add( "Center", dp = new DrawPad() );
		Panel p = new Panel();
		Button clearButton = new Button("Clear");
		clearButton.addActionListener( this );
		p.add( clearButton );
		add( "South", p );