1. Java Concept Matching.
- model
- a component’s internal state and consists of such properties as whether it is enabled and visiblen
- view
- a component’s appearance.
- controller
- monitors the component’s state and the actions that involve the component
- inheritance hierarchy
- the superclass/subclass relationship among classes
- lightweight component
- programmed entirely within Java code, such as most Swing components
- heavyweight component
- depend on peer classes that are written in the native system rather than in Java itself, such as all AWT components
JButton
- Swing version of a button.
Button
- AWT version of a button
- layout manager
- an object that manages the relative size and positioning of components in a container
- container
- holds GUI components.
- containment hierarchy
- describes which components are contained in which containers
- content pane
- a built-in
JPanel
that serves as the working area within aJFrame
. JFrame
- a window that holds a content pane.
Match each of the following GUI concepts.