Once you have resolved the error message and you have compiled your program, you are able to execute it.We have to decide between applications and applets. Applications are usually run directly on the client, applets, on the other hand, are embedded into a sandbox, usually the appletviewer or the web browser. Regarding applications, there are two ways to execute a program, with and without start arguments. Applets have to be started by a html file.
Table 3.1.
Description | Shortcut | |
---|---|---|
![]() |
Using the icon run in the toolbar: The program will be execute without arguments. This icon is enabled if the program is compiled and unchanged since the last compilation. | F7 |
![]() |
Using the menuitem | in the menu: Execute the current programm without arguments. This icon is enabled if the program is compiled and unchanged since the last compilation.
|
![]() |
Using the icon run with args in the toolbar: The program will be execute without arguments. This icon is enabled if the program is compiled and unchanged since the last compilation. | F9 |
![]() |
Using the menuitem | in the menu: Execute the current programm with arguments. This icon is enabled if the program is compiled and unchanged since the last compilation.
|
![]() |
Using the icon run applet in the toolbar. A dialog will open allowing to pass applet parameters (see Applet Dialog ). The applet will be executed. This icon is enabled if the program is compiled and unchanged since the last compilation. |
|
![]() |
Using the menuitem | in the menu menu : A dialog will open allowing to pass applet parameters. The applet will be executed. This icon is enabled if the program is compiled and unchanged since the last compilation.
|