// If our button was clicked on, handle it.
// Otherwise, let our superclass handle it if it wants to.
if (event.target == clear_button) {
Graphics g = this.getGraphics();
Rectangle r = this.bounds();
g.setColor(this.getBackground());
g.fillRect(r.x, r.y, r.width, r.height);
g.setColor(this.getForeground());
return true;
}
else return super.action(event, arg);