Methods Summary |
---|
void | addItem(java.lang.String newWord)
System.out.println(newWord);
buffer.append(newWord);
repaint();
|
public void | destroy()
addItem("preparing for unloading...");
|
public void | init()
buffer = new StringBuffer();
addItem("initializing... ");
|
public boolean | mouseDown(java.awt.Event event, int x, int y)
addItem("click!... ");
return true;
|
public void | paint(java.awt.Graphics g)
//Draw a Rectangle around the applet's display area.
g.drawRect(0, 0, size().width - 1, size().height - 1);
//Draw the current string inside the rectangle.
g.drawString(buffer.toString(), 5, 15);
|
public void | start()
addItem("starting... ");
|
public void | stop()
addItem("stopping... ");
|