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