The DisplayDevice Class contains the following constructor:
Creates a display device object.
public DisplayDevice(Graphics g) throws DeviceException;
g | The graphics object that the device is created for. |
com.ms.awt.DeviceException if the graphics object is not an instance of the com.ms.fx.FxGraphics or the GraphicsX class.