Setting Java applet properties

Setting Java applet properties

After inserting a Java applet (see Inserting a Java applet), use the Property inspector to set parameters. To view the following properties in the Property inspector, select a Java applet.

The Property inspector initially displays the most commonly used properties. Click the expander arrow in the lower-right corner to see all properties.

Name specifies a name to identify the applet for scripting. Enter a name in the unlabeled text box on the far left side of the Property inspector.

W and H specify the width and height of the applet, in pixels.

Code specifies the file containing the applet’s Java code. Click the folder icon to browse to a file, or enter a filename.

Base identifies the folder containing the selected applet. When you select an applet, this text box is filled automatically.

Align determines how the object is aligned on the page. For a description of each option, see Aligning an image.

Alt specifies alternative content (usually an image) to be displayed if the user’s browser doesn’t support Java applets or has Java disabled. If you enter text, Dreamweaver inserts the text as the value of the applet’s alt attribute. If you select an image, Dreamweaver inserts an img tag between the opening and closing applet tags.

V Space and H Space specify the amount of white space in pixels above, below, and on both sides of the applet.

Parameters opens a dialog box for entering additional parameters to pass to the applet (see Using parameters to control media objects). Many applets respond to special parameters.

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly