UpdateExample -- showing the difference between
overriding and not overriding the update method.
The triangle on the left is drawn with the standard update
method,
which first clears the background. The triangle on the right is
drawn using an overridden update method, which does not
clear the background.
Experiment:
Cover the browser window running the applet, then
uncover it.
Click on the Clear button once, or several times quickly.