Layout Managers

Week 10, Class 1

Since display areas can usually be resized, it is better if the components that comprise the user interface are not assigned specific coordinates. If they were and the space was resized, they would not be fitted proportionally to the space available in the display but, rather, retain their original positions.

To solve this problem and to make the programmer's task easier, the Java AWT provides several different Layout Managers that will arrange components on the display in the space available. When the space is resized, the layout manager will rearrange them accordingly.


Topics


References

Useful references include:

Assignment for Next Class