Note: Source code files accompanying article are located on MacTech CD-ROM or source code disks. Last month, we introduced the Java Layout Manager and saw the power of layouts combined with panels.
Example of using a GridBagLayout to span two top rows of a three row layout.
Developers often need to create graphical user interfaces (GUIs) that have a matrix-type layout with columns of different widths or rows of different heights. Those layout cells are unequal in order ...