Abstract Window Toolkit (AWT) Question:
Download Questions PDF

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

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?