Share via


Component.paint

Class Overview | Class Members | This Package | All Packages

Syntax

public void paint( Graphics g )

Parameters
  • g
    The graphics context to use for painting.
Description

Paints this component. This method is called when the contents of the component should be painted in response to the component first being shown or damage needing repair. The clip rectangle in the Graphics parameter will be set to the area which needs to be painted.

See Also

update