PPT Slide
- How should components be laid out within a container?
- (Why is this a problem? Because platforms may differ in screen size / resolution)
AWT Solution
- Layout Managers are AWT classes that encapsulate policies for laying out components in a container
- Can ensure that the arrangement of objects within a window will remain proportional regardless of changes in window dimensions.
- Example of general OOD strategy of putting
rules/policies in a coordinator/referee class.
- A layout manager is always associated
with a container