Yves, I'm getting the dreaded Normix error Robert Lancashire is seeing 
as well when I sync the applets, then, while they are doing their thing 
I click for polyhedra. One does it; the others crash. I think I know 
what's going on..... Miguel or I will figure this out.


Exception in thread "AWT-EventQueue-17" 
java.lang.ArrayIndexOutOfBoundsException: 0
    at org.jmol.g3d.Normix3D.getIntensity(Normix3D.java:254)
    at org.jmol.g3d.Graphics3D.fillTriangle(Graphics3D.java:842)
    at 
org.jmol.viewer.PolyhedraRenderer.fillFace(PolyhedraRenderer.java:100)
    at org.jmol.viewer.PolyhedraRenderer.render1(PolyhedraRenderer.java:76)
    at org.jmol.viewer.PolyhedraRenderer.render(PolyhedraRenderer.java:43)

Bob

Yves NOEL wrote:

>Hi,
>
>I interested in multiple (three)  jmol applets on a page. I want to 
>create buttons above each applet to orient the other with the 
>orientation of the above applet.
>I had previous successful experiences with jmolSaveOrientaion with a 
>single applet but it doesn 't work (or I m doing something wrong) with 
>multiple applets.
>
>Looking for the solution, I realized  that there was a problem with the 
>return value of  jmolScriptWait for applets that are different from 
>jmolApplet0 (even on a page with a single applet).
>
>I have written 2 simple pages to illustrate this:
>The page contains  a single applet with 2 buttons that call 
>jmolScriptWait and "alert" the return value.
>The first button script is "getProperty appletInfo" and the second one 
>is "spin"
>
>Page  http://www.pmmp.jussieu.fr/yves/jmolScriptWait/test0.html :
>targetsuffix is 0
>It s OK
>
>Page http://www.pmmp.jussieu.fr/yves/jmolScriptWait/test1.html :
>targetsuffix is 1
>button applet info
>=> message"jmolApplet0 not found"
>=>return value ""
>button spin
>=>return "" instead of "script completed"
>=> BUT system is spinning !!!!!
>
>Here is the appletInfo
>{"appletinfo": {"version": "10.x.02(branch bob200603)","date": 
>"2006-05-17 23:15","javaVersion": "1.5.0_06","htmlName": 
>"jmolApplet0","javaVendor": "Sun Microsystems Inc.","operatingSystem": 
>"Windows XP"}}
>I noticed the same behaviour with Firefox and IE
>
>Is this reproducible?
>
>Thank you for your help
>
>
>Yves NOEL
>
>
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>



_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to