Hello!

I'm trying to convince the Jmol standalone application to load a custom menu 
using the 'load menu' script. However, this generates the following exception:

Disposal was interrupted:
java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at java.awt.Window.doDispose(Unknown Source)
        at java.awt.Window.dispose(Unknown Source)
        at org.openscience.jmol.app.Jmol.dispose(Unknown Source)
        at org.openscience.jmol.app.Jmol.setupNewFrame(Unknown Source)
        at 
org.openscience.jmol.app.Jmol$MyStatusListener.setCallbackFunction(Unknown 
Source)
        at org.jmol.viewer.StatusManager.setCallbackFunction(Unknown Source)
        at org.jmol.viewer.Viewer.setMenu(Unknown Source)
        at org.jmol.viewer.Eval.load(Unknown Source)
        at org.jmol.viewer.Eval.instructionDispatchLoop(Unknown Source)
        at org.jmol.viewer.Eval.runEval(Unknown Source)
        at org.jmol.viewer.Viewer.evalStringWaitStatus(Unknown Source)
        at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runScript(Unknown 
Source)
        at 
org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runNextScript(Unknown Source)
        at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Even when loading the default menu (dumped with the 'write menu' script), this 
exception occurs. I've tried using different versions (11.7.25, 11.6.15, 
11.4.6, even 11.2.14). I'm starting the application using 
org.openscience.jmol.app.getJmol.getJmol(...).

Is it a bug or is there something that I'm doing wrong?

thanks in advance,
Jeroen

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to