background image
<< Updates the CLASSPATH | Installing the Swing Foundation Classes >>
<< Updates the CLASSPATH | Installing the Swing Foundation Classes >>
Setting Up the Sample Java Applet
Setting Up the Sample Java Applet
14-7
Verifying that the Java Extension Is Loaded
To test Java, you must first make sure that the Java extension is loaded in Robot.
To verify that the Java extension is loaded:
1. Start Robot.
2. Click Tools > Extension Manager.
3. Verify that Java is selected. If not, select it.
4. To improve the performance of Robot, clear the check boxes of all environments
that you do not plan to test.
5. Exit Robot.
The next time you start Robot, only the extensions for the selected environments are
loaded.
Setting Up the Sample Java Applet
After you complete the tasks in the proceeding section, you can start testing your Java
applets or standalone applications, or you can learn more about testing Java by
installing the sample Java applet that Rational provides.
To use the sample applet, you must perform the following tasks:
1. Install the sample Java applet.
2. Install Sun's Swing foundation classes. (Swing is a subset of JFC.)
3. Start the sample Java applet.
These tasks are described in the following sections.
Microsoft JVM
Updates the trusted CLASSPATH in the registry.
Netscape JVM
þ
Copies the sqarobot.jar file to the Java\Classes directory
within the Netscape directory structure.
þ
Copies the sqajava.dll file to the Java\Bin directory.
þ
Updates the awt.properties file in the Java\Classes
directory.
(Continued)
With this Java environment
The Java Enabler