Strut Layout 
Overview 
Download 
Documentation

Overview

StrutLayout is an AWT layout manager that lays out components by logically connecting them with struts.  Each StrutLayout has a root component which any number of child components may connect to.  Each child component may have also have child components, and so on. 
 
Each component in a StrutLayout may also have internal springs associated with it.  These springs can be used to make the component expand horizontally and/or vertically to take up any extra space.  The expansion takes into account any child components, ensuring they are not pushed off the edge of the layout area. 

Additionally, each component may be a member of a size group which allows sets of components to maintain the same horizontal and/or vertical dimensions as the largest component in the group. 

Example diagram 
The source code that created the above example is included in the distribution as src/test/TestStrutLayout.java.   For more information on installing and using StrutLayout, see the README included with the distribution.
 
This software was written by Matthew Phillips <mpp@ozemail.com.au> (http://www.ozemail.com.au/~mpp).  Why he did it only he knows.  Hopefully someone will find it worth the work he put into it. 
 
 

$Revision: 1.5 $