First question: Java or HTML5?

If Java, I'm quite surprised. Java is multi-threaded. So I would need to
have a very specific example to try myself.


If HTML5, the problem is in the way we are emulating multi-threading.

To debug:

1) replace jsmol/j2s/core/core.z.js  with jsmol/js/core.js

2) add some debugging

Alerts won't work here -- I would use System.out.println (to the Jmol
Javascript console, visible with applet._showInfo(true) ) or document.title
(my favorite) or possibly console.log (messages can come out of order).

I would look for "this.stopped = true"  in core.js and add something like
this there:

document.title = +new Date;

The method is called when a thread is interrupted. So maybe your issue is
not getting the interruption message.

You should also turn off the  hover thread, probably:

set hover off

Bob

-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to