After inserting a Java applet, use the Property inspector to set parameters. Double-click a Java applet to view its properties in the Property inspector.
See also Adding movies, applets, and other multimedia elements.
The Property inspector initially displays the most commonly used properties. Click the expander arrow in the lower right corner to see all properties.
Applet Specifies a name to identify the applet for scripting. Enter a name in the unlabeled field on the far left side of the Property inspector.
W and H Specify the width and height of the applet in pixels. You can also specify the following units: pc (picas), pt (points), in (inches), mm (millimeters), cm (centimeters), or % (percentage of the parent's value). The abbreviations must follow the value without a space: for example, 3mm.
Code Specifies the content file of the applet. Enter a file name, or click the folder icon and choose a file.
Base Identifies the folder containing the selected applet. When you choose an applet, this field is filled automatically.
Align Determines how the object is aligned on the page. See Aligning elements for a description of each option.
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 type in text, Dreamweaver renders the text with the ALT
attribute of the APPLET
tag. If you choose an image, Dreamweaver inserts an IMG
tag between the opening and closing APPLET
tags.
Note: To specify alternative content that is viewable in both Netscape Navigator (with Java off) and Lynx (a text-based browser), select an image and then manually add an ALT
attribute to the IMG
tag in the HTML inspector.
V Space and H Space Specify the amount of white space in pixels above, below, and on either side of the applet.
Parameters Opens a dialog box for entering additional parameters to pass to the applet. Many applets respond to special parameters. See About parameters.