Mega Code Archive

 
Categories / Java Tutorial / SWT
 

Using FormLayouts

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.