How do I install a Java applet with a single class file into Lotus Notes?

The applet code for the example given here is:

<applet code="Dice.class" width = 501 height = 267></applet>

Download the Java applet class file to your desktop.  Record the applet parameters for height and width.  If there are additional  parameters the directions that follow may have to be modified.  For this example the

Place your cursor in the position you wish the applet to appear.  Select "Java Applet" from the "Create" menu.

applet_class1.gif (11340 bytes)

Click on the folder to the right of "Base class name", then navigate to the appropriate class file:

applet_class2.gif (51787 bytes)

To change the width and height parameters in Lotus Notes 5.0, place your cursor immediately to the right of the applet you inserted.  Click the backspace button once.  If the properties screen does not pop up, choose "Java Applet Properties" from the "Java Applet" menu.

applet_class3.gif (7775 bytes)

Change to the appropriate height and width parameters on the "Java Applet Properties" screen.

applet_class4.gif (25285 bytes)

The applet should be functional.

Hit Counter visitors since April 13, 2002