Abstract Window Toolkit (AWT) Question:

How the Canvas class and the Graphics class are related?

Tweet Share WhatsApp

Answer:

A Canvas object provides access to a Graphics object via its paint() method.

Read All 41 AWT Questions
Previous QuestionNext Question
What is the difference between a MenuItem and a CheckboxMenuItem?What is the relationship between clipping and repainting?