Abstract Window Toolkit (AWT) Question:

Download Job Interview Questions and Answers PDF

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

AWT Interview Question
AWT Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between JFC & WFC?What is the difference between a MenuItem and a CheckboxMenuItem?