Working with Layout Managers

The way that Java organizes GUI components within containers differs from other windowing systems such as Windows, the MacOS, and the X Windows system. These systems require that programmers specify the absolute position and size of components within containers. This approach is fine if you are working with a single windowing system; however, Java is platform independent and is not confined to a particular windowing system. Instead, Java's AWT provides the capability to organize components within containers using relative component sizes and positions.

NOTE

GUI Differences and Layouts Many GUI components differ slightly in size and appearance across browsers and windowing systems. Java's layout managers accommodate ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.