Great thanks, that solves most of the problems. I can now run it online. The download seems to have problems with images. I tried several. The applet runs but without the images. Here is the console message for one:
[code]
basic: Starting applet teardown
basic: Finished applet teardown
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@19c18ae
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 365869 us, pluginInit dt 225201734 us, TotalTime: 225567603 us
java.security.AccessControlException: access denied (java.io.FilePermission \C:\Users\Public\Downloads\mirrorHeight (1)\mirrorHeight\_examples\_data\11-cave-man.gif read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
at sun.awt.SunToolkit.getImage(Unknown Source)
at javax.swing.ImageIcon.(Unknown Source)
at javax.swing.ImageIcon.(Unknown Source)
at org.opensourcephysics.displayejs.utils.Utils.processResource(Utils.java:179)
at org.opensourcephysics.displayejs.utils.Utils.resourceObject(Utils.java:234)
at org.opensourcephysics.displayejs.utils.Utils.resourceIcon(Utils.java:138)
at org.opensourcephysics.ejs.control.displayejs.ControlImage.setImage(ControlImage.java:101)
at org.opensourcephysics.ejs.control.displayejs.ControlImage.setValue(ControlImage.java:73)
at org.opensourcephysics.ejs.control.GroupVariable.propagateValue(GroupVariable.java:84)
at org.opensourcephysics.ejs.control.GroupControl.registerVariable(GroupControl.java:311)
at org.opensourcephysics.ejs.control.ControlElement.setProperty(ControlElement.java:490)
at org.opensourcephysics.ejs.control.ControlElement.setProperty(ControlElement.java:377)
at mirrorHeight.mirrorHeightView.createControl(mirrorHeight.java:1036)
at mirrorHeight.mirrorHeightView.(mirrorHeight.java:638)
at mirrorHeight.mirrorHeightSimulation.(mirrorHeight.java:612)
at mirrorHeight.mirrorHeight.(mirrorHeight.java:46)
at mirrorHeight.mirrorHeightApplet.init(mirrorHeightApplet.java:31)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cache 3: Unable to load resource _examples/_data/11-cave-man.gif
java.security.AccessControlException: access denied (java.io.FilePermission \C:\Users\Public\Downloads\mirrorHeight (1)\mirrorHeight\_examples\_data\11-cave-man.gif read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
at sun.awt.SunToolkit.getImage(Unknown Source)
at javax.swing.ImageIcon.(Unknown Source)
at javax.swing.ImageIcon.(Unknown Source)
at org.opensourcephysics.displayejs.utils.Utils.processResource(Utils.java:179)
at org.opensourcephysics.displayejs.utils.Utils.resourceObject(Utils.java:234)
at org.opensourcephysics.displayejs.utils.Utils.resourceIcon(Utils.java:138)
at org.opensourcephysics.ejs.control.displayejs.ControlImage.setImage(ControlImage.java:101)
at org.opensourcephysics.ejs.control.displayejs.ControlImage.setValue(ControlImage.java:73)
at org.opensourcephysics.ejs.control.GroupVariable.propagateValue(GroupVariable.java:84)
at org.opensourcephysics.ejs.control.GroupControl.registerVariable(GroupControl.java:311)
at org.opensourcephysics.ejs.control.ControlElement.setProperty(ControlElement.java:490)
at org.opensourcephysics.ejs.control.ControlElement.setProperty(ControlElement.java:377)
at mirrorHeight.mirrorHeightView.createControl(mirrorHeight.java:1046)
at mirrorHeight.mirrorHeightView.(mirrorHeight.java:638)
at mirrorHeight.mirrorHeightSimulation.(mirrorHeight.java:612)
at mirrorHeight.mirrorHeight.(mirrorHeight.java:46)
at mirrorHeight.mirrorHeightApplet.init(mirrorHeightApplet.java:31)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cache 3: Unable to load resource _examples/_data/11-cave-man.gif
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@19c18ae
basic: Applet made visible
basic: Starting applet
basic: Applet started
basic: Told clients applet is started
[/code]
Even when the image is in the jar (I did not check all, I checked the one with the tiger walking towards a mirror) is seems unable to read it even though it executes the class files.

Thanks for all of your help.

TM