Canvas.paint
Class Overview | Class Members |
This Package |
All Packages
public void paint( Graphics g )
Parameters
- g
- the graphics context.
Description
This method is called to repaint this canvas. Most applications
that subclass Canvas should override this method in
order to perform some useful operation.
The paint method provided by Canvas
redraws this canvas's rectangle in the background color.
The graphics context's origin (0, 0) is the top-left corner
of this canvas. Its clipping region is the area of the context.
Overrides
paint in class Component
See Also
Graphics