APPLICATION DESIGN


Setting applet parameters
Some Java(TM) applets have parameters that use default values. You do not need to specify values for these parameters. For applets that have parameters without default values, however, you must set parameter values or the applet will not run. You can manually enter parameters and values, or you can paste all of the parameters in the Programmer's pane and edit associated values.

To set individual applet parameters

1. Select the Java(TM) applet and, if the Programmer's pane is not displayed, choose Java Applet - Java Applet Parameters.

2. Click "Applet Parameters" in the Programmer's pane.

3. Use any text editor and open the HTML file associated with the Java(TM) applet.

4. Click Add.

5. Enter the parameter name. For example, enter bgcolor for the following HTML tag:


6. Enter the corresponding value in the Parameter Value window. For example, enter black for the example HTML tag in Step 5.

To set all applet parameters

1. Use any text editor or Web browser and open the HTML file associated with the Java(TM) applet.

2. In the HTML file, select all of the parameters and copy them to the Clipboard. For example, copy all of the following text:


3. Select the Java(TM) applet and if the Programmer's pane is not displayed, choose Java Applet - Java Applet Parameters.

4. Click "Applet Parameters."

5. Click Paste to add the parameters and their values.

Tips


See Also