SWT Java Tutorial

A FormLayout uses FormAttachment objects to configure the left, right, top, and bottom edge of a widget.
A FormAttachment attaches a side of the control either to a position in the parent composite or to one of its sibling controls within the layout.