Programming 101 By Way of Java

Sine Wave Graph: With Double Buffering

This version of the sine wave graph applet uses double buffering; everything is drawn to an off-screen canvas, which is then copied to the actual window. To see what happens without this step, try the no-double-buffering version.


See the Source Code


For general Java information, and to download Sun's free Java Development Kit, see www.javasoft.com.

Follow us on Twitter | Contact Us

Copyright 1994-2012 Boutell.Com, Inc. All Rights Reserved.