Important Concepts: Project Attributes

Attributes define a project's individual characteristics, such as its name, type, and how it appears on an HTML page. The Blink project you created has required attributes that determine:

You supplied values for these required attributes when you created the project.

Blink also contains numerous optional attributes. The optional attributes determine such things as how the project appears in the project manager and the compiler options used to build the project. Java WorkShop supplied default values for these attributes when you created the project.

In the next lesson, you will edit the attributes that make up the tag. Recall that when you ran the Blink project in the previous lesson, Java WorkShop created the tag using the minimum requirements to put the applet on a web page. Java WorkShop created the tag in the file Blink.tmp.html in your Blink directory. The file currently looks something like this:
If your browser recognized the applet tag,
   you would see an applet here.

Blink.class is the file that contains the applet's compiled Java code. Codebase is the directory that contains the Blink.class file. Width and height define the area, in pixels, that the browser needs to display the applet.

You will not edit the .html file directly. Java WorkShop will update the file based on the actions you perform using the project manager.

Next lesson:

Exercise 1: Editing Run Attributes