1 | The previous animations exhibit a noticeable flicker caused by the continuous clearing and repainting of the applet window |
2 | Flicker can be avoided by double buffering |
3 | A buffer is an off-screen graphics image |
4 | All drawing is done in the buffer, which is then copied to the applet window as a last step |