Microsoft SDK for Java

DisplayDevice Class Constructors

The DisplayDevice Class contains the following constructor:

DisplayDevice(Graphics g)

Creates a display device object.

Syntax

public DisplayDevice(Graphics g) throws DeviceException;

Parameters

g The graphics object that the device is created for.

Exceptions

com.ms.awt.DeviceException if the graphics object is not an instance of the com.ms.fx.FxGraphics or the GraphicsX class.

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