Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

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.