Direct Draw Sample

This sample is located in \Samples\DirectX\Ddraw.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

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.

Using the Sample

Key Project Files

DDraw.java

This class creates an instance of the DDrawFrame and adds the DDraw canvas.

DDrawCanvas.java

This class draws the canvas onto a regular Java Canvas.

DDrawFrame.java

This class creates a simple frame to contain the DDrawCanvas.

Technologies Demonstrated

DirectX

© 1999 Microsoft Corporation. All rights reserved. Terms of use.