public void stop () {
|
runThread.stop(); |
runThread = null;
|
} |
public void paint(Graphic g) { |
g.setFont(f); |
g.drawString ("All the Swirly Colors", 15,50); |
} |
public void update(Graphics g) { |
paint(g); } // No need to clear background as unchanged! -- only color of letters changes |
} // end Applet ColorSwirl |