Basic HTML version of Foils prepared 13 July 98

Foil 82 Double Buffering

From Java Academy II:Advanced Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo


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



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998