Unfortunately, the JDK does not include a GridLayout class that allows for a matrix layout with multisized cells (rows of different heights or columns of different widths). To obtain that type of layout, developers usually use GridBagLayout, creating long and cluttered code as they add components into a container. This tip describes a simple GridLayout extension that helps programmers write less and more readable code. (1,500 words; December 14, 2001)
Complex graphical user interfaces (GUIs) can be difficult to set up using standard Java layout managers like BorderLayout, GridLayout, or FlowLayout. While GridBagLayout proves a much more powerful standard Java layout manager, it remains unpopular because developers find it complicated and nonintuitive. In response, in this Java Tip, John Redmond presents the SGLayout manager, which allows you to construct complex GUIs in a simple and obvious way. (1,600 words; August 2, 2002)