Share via


Component.getGraphics

Class Overview | Class Members | This Package | All Packages

Syntax

public Graphics getGraphics()

Returns

A graphics context for this component, or null if it has none.

Description

Creates a graphics context for this component. This method will return null if this component is currently not on the screen.

See Also

paint