> what do you think is going on? > > I think it has something to do with how Eval is threaded.
I think that there are lots of threading problems between Java and JavaScript. I don't think that I have ever seen anything that talks about when it is 'legal' for a Java applet to call JavaScript 'eval'. It says that Java programs can call 'eval', but I have no confidence that it is robust. That is a fundamental problem and one of the primary reasons that I don't like the callbacks. > Several > times I saw on the Macs I was using that it got to "clearThread()" and > just died right there -- never came back from that routine (myThread = > null). > > The odd thing is, though, scriptWait() doesn't use a separate thread. > "myThread" should already be null. So that makes little sense to me. > > I'm guessing that we are seeing this now because it's the first time > I'm using calls to scriptWait() in rapid succession. > > Advice? Not really. I think that your efforts to maintain an event queue in Java were in the right direction. Sorry ... I can't put any more time into this today. Miguel ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers