Using the GUI to Start the Ray-Tracing Example


Please Note: The GUI provided with this example is not a supported product. It is a tool to assist you in the successful execution of this example by limiting the amount of typing you have to do. This GUI may or may not be included in future releases.


Before Starting

To start the ray-tracing example you need to have the following services running:

For instructions on how to start these services, please refer to:

The ray-tracing example has two components: (1) a task generator that renders results produced by (2) a generic worker that pulls the tasks from a space, performs them, and puts the result back into the space.

[ Back To Top ]


Edit the Example's HTML Files

There are two HTML files you will need to edit:

Where /files was the directory into which you extracted the Jini system software and the Outrigger software distributions. In both of the HTML files, replace the value of the host param with the name of the system on which you will run the example. For instance, if your system is named myhost.sun.com, replace value="cocolat.east" with myhost.sun.com.

[ Back To Top ]


Starting the GUI

Start the GUI from the command line:
% java -cp /files/jini1_0/lib/space-examples.jar  com.sun.jini.example.raytrace.StartRayTrace

Where /files was the directory into which you extracted the Jini system software and the Outrigger software distributions. The -cp option to the java command specifies a class path to search for class files. For more information on options to the java command, click here.

[ Back To Top ]


Tabbed Panels in Brief

[ Back To Top ]


Details on Tabbed Panels

Registry Services Tabbed Panel

Data Tabbed Panel

Run It All! Tabbed Panel

[ Back To Top ]


Running the Example

Once you have filled in the information in the Registry and Data tabbed panels, you are ready to start the applets. Decide on the applet you want to start and press its Start button. If you wish to stop the applet, press its Stop button.

The runnable applets are:

[ Back To Top ]


Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.