Launching a Java applet
If your Java program is structured as an applet, you can use the Java Applet launch configuration. This launch configuration uses information derived from the workbench preferences and your program's Java project to launch the program.
- In the Package Explorer, select the Java compilation unit or class file you want to launch.
- From the pop-up menu, select Run > Java Applet. Alternatively, select Run > Run As > Java Applet in the workbench menu bar, or select Run As > Java Applet in the drop-down menu on the Run tool bar button.
- Your program is now launched.
You can also launch a Java applet by selecting a project instead of the compilation unit or class file. You will be prompted to select a class from those classes that extend Applet. (If only one applet class is found in the project, that class is launched as if you selected it.)
Re-launching a program
Running and debugging
Stepping through the execution of a program