public class DrawPicture extends Applet implements MouseMotionListener,
ActionListener {
Button button1, button2, button3;
Color c;
int x, y;
int con;
int 橡皮擦通知, 清除通知;
public void init() {
con = 5;
button1 = new Button("调色板");
button2 = new Button("橡皮擦");
button3 = new Button("清除");
add(button1);
add(button2);
add(button3);