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

Java AWT Canvas Example

Output:

java awt canvas example 1
Next TopicJava AWT Scrollbar




Contact US

Email:[email protected]

AWT Canvas
10/30