Previous


Threads in Applets: The Full Example

Below are two PrintThread applets. (Here's the code.) PrintThread calls repaint() unnecessarily every once in a while, so that you'll be able to see how its update() method gets called.


You can't run applets. Here's what you'd see if you could:



Previous