SlowPaintExample -- using a deliberately faulty
(slow, computation-intensive) paint method.
Experiment:
- Cover (or partially cover) the applet with another
window and then re-expose the applet.
- Shorten your browser window so that a scroll bar
appears and part of the applet is out of view. Now
try to scroll the page.
- Visit to another page and then return to this one.
The source.