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 applets 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 users browser doesnt support Java applets or has Java disabled. If you enter text, Dreamweaver inserts the text as the value of the applets alt
attribute. If you select 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 disabled) and Lynx (a text-based browser), select an image and then manually add an |
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.