# Editing the Project HTML File

When you run an applet project, Java WorkShop creates the file projectname.`tmp.html` in your project directory. If you edit this file, you must save it under a different file name; otherwise, your changes will be overwritten the next time you run the applet. You must also edit the project's Run Page URL so that the next time you run your project, Java WorkShop loads the new HTML file.

To edit the HTML file:

1. Click the Project's button on the Java WorkShop main toolbar.
2. Double-click the name of the project whose HTML file you want to edit.
3. Choose File -> Open from the Java Workshop main menu.
   A file chooser is displayed.
4. In the file chooser, select the projectname`.tmp.html` file.
5. Choose File -> Save As from the Java WorkShop main menu.
6. Type a directory and a new name for the HTML file in the Save Current File dialog box; then click OK.
7. Edit the file in the source editor.
8. Click the Save button on the Edit/Debug toolbar.

To update the run page URL:

1. Click the Project's button on the Java WorkShop main toolbar.
2. Click the project name in the project manager.
3. Choose Project -> Edit.
4. Click the Debug/Browse tab in the Edit Project window.
5. Click Yes for Existing Run Page URL.
6. Type the new HTML file name in the Existing Run Page URL box.
7. Click OK.
   Now when you run your project, Java WorkShop loads the new HTML file into the browser.

See also:

  Running a Project