This sample is located in \Samples\DirectX\Ddraw.
Description
Using the Sample
Key Project Files
Technologies Demonstrated
This sample shows the high performance of Microsoft® DirectDraw® when working with Java. The blue-to-red flicker demonstrates blitting at your monitor's maximum refresh rate as the applet transfers alternate 640x480-sized bitmaps to the screen as fast as possible.
This class creates an instance of the DDrawFrame and adds the DDraw canvas.
DDrawCanvas.javaThis class draws the canvas onto a regular Java Canvas.
DDrawFrame.javaThis class creates a simple frame to contain the DDrawCanvas.