Launching RWT Applications

The simplest way to launch an RWT application is to run it using an RWT Application launch configuration. This launch configuration type uses information derived from the workbench preferences and your applications's Java project to launch the program.

  1. In the Package Explorer, select the Java compilation unit or class file with the entry point you want to launch.
  2. Press the Run [] button in the workbench toolbar or select Run > Run from the workbench menu bar. Alternatively, select Run As > RWT Application in the Package Explorer pop-up menu, or select Run > Run As > RWT Application in the workbench menu bar, or select Run As > RWT Application in the drop-down menu on the Run tool bar button.
  3. The application is now launched. A browser will be opened for you to interact with the application.

You can also launch an RWT application by selecting a project instead of the compilation unit or class file. You will be prompted to select a class from those classes that define an entry point. If only one class with a main method is found in the project, that class is launched as if you selected it.

How the generated launch configuration can be altered, you can read in the topic Creating an RWT Application launch configuration.