Java AWT Canvas

The Canvas control represents a blank rectangular area where the application can draw or trap input events from the user. It inherits the Component class.

AWT Canvas class Declaration

public class Canvas extends Component implements Accessible

Java AWT Canvas Example

Flash Soon


Output:


Advertisement

Copyright ©2017 Design& develop