What are the component and container classes? A component is a graphical object. A few examples of components are:
- Button - Canvas - Checkbox - Choice - Container - Label - List - Scrollbar - TextComponent
public class Container extends Component and is a component that can contain other AWT components.
A few examples are:
- BasicSplitPaneDivider - Box - CellRendererPane - DefaultTreeCellEditor.EditorContainer - JComponent - Panel - ScrollPane - Window
|