Linking to an applet on the Web
About this task
Before you link to a Java™ applet on the Web, you must enable Java™ applets on your workstation.
Procedure
- Open a page or form, or click in the rich text field of a document.
- Select Create - Java™ Applet.
- In the Create Java™ Applet
dialog box:
- Select "Link to an applet on a Web server."
- In Base URL, enter the URL where the applet files are stored.
Do not specify the document that references the applet. For example,
use
http://java.sun.com:80/applets/Bubbles http://java.sun.com:80/applets/Bubbles/index.html
- In the Base class name field, enter the name of the main class. Note that Java™ is case-sensitive to file names.
- Click OK.
- Optional: Set applet parameters, attributes, and properties.