Running a Project
You can run an applet, standalone program, image, or remote applet in the Java WorkShop without opening a separate Web browser. The WorkShop runs the project using the attributes you specify in the Run tab in the Project Manager.
Run a project in one of the following ways:
- Click the Project Tester control

on the WorkShop tool bar. The WorkShop runs the current project.
- Choose Project => Run and select the project name.
The action that the WorkShop performs depends on the type of project you are running. To stop the running project, load another page in the browser by clicking on any tool in the tool bar.
- Applet
- The HTML file the WorkShop runs depends on the setting of the Existing Run Page URL attribute. You can find this attribute in the Run tab in the Project Manager. If the Existing Run Page URL is set to no, the WorkShop creates the file projectname.tmp.html in your project directory and loads it into the browser. The WorkShop generates this file based on the attributes and parameters you specify in the Run tab. If you did not specify any attributes, the file contains the minimum requirements to place the applet on a Web page.
If the Existing Run Page URL is set to yes, the WorkShop loads the file specified in the Existing Run Page URL text field into the browser.
- Standalone Program
- The WorkShop creates an MS-DOS command window or a shell tool in the UNIX(r) operating environment and runs the program. You can specify arguments to the pass to the program's main method in the Run tab in the Project Manager. See Specifying Program Arguments.
- Image
- The WorkShop creates and loads an HTML file containing the <img> tag into the browser.
- Remote Applet
- The WorkShop loads the HTML file containing the <applet> tag into the browser and runs the applet.
See also:
- Run Tab for Applet Project
- Run Tab for Standalone Program Project
- Run Tab for Image Project
- Run Tab for Remote Applet Project
- Editing the Project HTML file