Abstract Window Toolkit (AWT) Question:
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.
Previous Question | Next Question |
What is the difference between JFC & WFC? | What is the difference between a MenuItem and a CheckboxMenuItem? |