Setting up Java applets


    When you set up Java applets, the name of the .class file containing the applet appears in the Code text box of the Java Applet Inspector. The name of the applet appears in the Java Applet icon in the document window.

To set up a Java applet:

  1. Drag the Java Applet icon Java Applet icon from the Basic tab Basic set icon in the Objects palette to the Layout Editor, or double-click the icon in the Objects palette.
  2. In the Basic tab of the Java Applet Inspector, specify an applet file in the Base text box.
  3. Note: With some Java applet generator programs, the .class extension is not added correctly to the CODE attribute. These applets work in the browser, but they won't display in GoLive.

  4. Name the applet by typing a unique name in the Name text box. The name cannot be used by any other object on your page.
  5. Resize the applet by dragging the resize handles, or type Width and Height values in the Java Applet Inspector. (The values can be pixels or percentages.)
  6. To align an applet with surrounding text when you are not using a layout grid, use the Hspace and Vspace text boxes and the Align pop-up menu.