Abstract Window Toolkit (AWT) Question:

What is the difference between a Canvas and a Scroll Pane?

Tweet Share WhatsApp

Answer:

Canvas is a component. ScrollPane is a container. Canvas is a rectangular area where the application can draw or trap input events. ScrollPane implements horizontal and vertical scrolling.

Download AWT PDF Read All 41 AWT Questions
Previous QuestionNext Question
What is the difference between JFC & WFC?What is the difference between a MenuItem and a CheckboxMenuItem?