Editing the Project HTML File
When you run an applet project, the 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, the WorkShop loads the new HTML file (instead of projectname..tmp.html).
To edit the HTML file:
- Click the Source Editor control

on the WorkShop tool bar.
- Choose File => Open from the Source Editor menu bar.
- Open the projectname.tmp.html in your project directory.
- Choose File => Save As from the Source Editor menu bar.
- Enter a new name for the HTML file and save the file.
- Edit the file.
- Click the Save control
on the Source Editor tool bar.
To update the Run Page URL:
- Click the Project Manager control

on the WorkShop tool bar.
- Click the Run tab in the Project Manager.
- Click Yes in the Existing Run Page URL field.
- Enter the name of the new HTML file in the Existing Run Page URL text field.
- Click Apply.
Now when you run your project, the WorkShop will load the new HTML file into the browser.
See also:
- Running a Project