Optics Embedding

OpticsApplet allows users to simulate standard optic elements (lens, mirror, dielectrics, sources, apertures) and observe the ways that light rays propagate through these elements. The applet is designed to be scripted but may also be used to construct optical systems using buttons and a click and drag metaphor..

Optics is embedded using the following html tag:

<applet
  code="optics.OpticsApplet.class"
  codebase="../classes/"
  archive="Optics4_.jar,STools4.jar" 
  width="500" 
  height="250"
  name="OpticsBenchApplet">

<param name="ShowControls" value="false">
</applet>

OpticsApplet Parameters

ShowControls  boolean  True to show simple user interface.

STools Parameters

AppletNames  string  A comma delimited list of applet names occurring within this html page. (See OnLoad.)
Debug  int  Enables debugging messages in Java console; 0 = no messages, 255 = verbose messages.
OnLoad  string  A JavaScript function that will be invoked using LiveConnect after all applets have been loaded.  (See AppletNames.)
Resources  string  A file containing translations of internal text such as buttons and labels.