SWT Example Launcher

The Example Launcher is used to launch SWT examples which can either be Workbench Views, or Standalone applications.

For information on how to run the standalone examples without the SWT Example Launcher, refer to Manual Setup.

The SWT workbench view examples can also be launched directly without using the SWT Example Launcher. SWT workbench view examples can be found under the SWT Examples category of the Show Views dialog.

Running the Example Launcher

From the Window menu, select Show View → Other. In the Show View dialog, expand SWT Examples and select the SWT Example Launcher view. A view containing a list of examples will appear in your current perspective. Select an example from the list. A brief description of the example is displayed. Click on the Run button to launch the example.

Details

The example launcher view contains a tree list, a text area, and a button. The tree list contains a list of all the SWT examples you can choose to run. When an example is selected from the tree, the text area displays a short description of the example. The selected example can be launched by clicking on the Run button. Standalone examples are run in the same thread as the workbench's UI but they are not integrated into the perspective. The launcher invokes the open() method of the standalone example.

Copyright IBM Corporation 2000, 2002.  All Rights Reserved.