1 |
In paint(), one will construct applet image in offscreenGraphics as opposed to the argument g of paint(). So one would see statements such as:
|
2 |
Finally at end of paint(), one could transfer the off-screen image to g by
|
3 |
One would also need to override the update() method by
|