Setting Layouts : Layout Basics « SWT « Java Tutorial






public Layout getLayout()
    public void setLayout(Layout layout)

By default, a composite does not have any layout.









17.93.Layout Basics
17.93.1.Layouts
17.93.2.A few terms that are used frequently when discussing layouts
17.93.3.Setting Layouts
17.93.4.Using Layout Data Objects to control layoutUsing Layout Data Objects to control layout
17.93.5.Laying Out Children of a CompositeLaying Out Children of a Composite
17.93.6.Layout term: bounds, client areaLayout term: bounds, client area