SWT layout managers

You can work with SWT layout managers with the visual editor for Java.

See the following topics for more information:

Using FillLayout
The visual editor makes it easy to work with the SWT FillLayout manager.

Using FormLayout
You can set a composite to use the SWT FormLayout, but the visual editor does not provide additional visual support.

Using GridLayout (SWT)
You can use the GridLayout with SWT composites to arrange components using a powerful and flexible grid arrangement.

Using RowLayout
The SWT RowLayout layout manager lays out its components in rows, but is more robust than FillLayout.

 

Parent topic

Laying out components using the visual editor

 

Related concepts

Layout managers and containers
Swing and AWT layout managers

 

Related tasks

Specifying a layout manager