CanvasNameCanvas
DescriptionCanvas is a Component that provides a drawing area and is often used as a base class for new components. Class Definition
public class java.awt.Canvas extends java.awt.Component { // Constructors public Canvas(); // Instance Methods public void addNotify(); public void paint (Graphics g); } ConstructorsCanvaspublic Canvas()
Instance MethodsaddNotifypublic void addNotify()
paintpublic void paint (Graphics g)
See AlsoComponent, Graphics |
|