Microsoft SDK for Java

Graphics.createScreenGraphics

Creates a Graphics object that can draw anywhere on the display.

Syntax

public static final Graphics createScreenGraphics()

Return Value

A Graphics object that encompasses the entire display.

Remarks

Because you can use screen graphics to overwrite information in another application's window, you should use screen Graphics objects carefully.

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