SWT example - Layouts
This example is a simple demonstration of common SWT layouts.
It consists of a tab folder where each tab in the folder allows the
user to interact with a different SWT layout.
The user can insert widgets into a layout and set the values of the layout data
using a property sheet. When the user has a suitable arrangement, the underlying
code can be generated by clicking on the Code button.
Running the example
Follow the
SWT standalone examples setup
instructions to install and run the example from your workspace.
The "Main" class is org.eclipse.swt.examples.layoutexample.LayoutExample
.
This example can also be run using the
Example Launcher.
Select the Layouts item from the Workbench Views category and click Run.