Dear Bob,

Thanks for pointing me to investigate pickCallBack.

The problem was that clicking an atom in "set picking center" mode was sending, via pickCallBack, an otherwise innocuous script via jmolScript*Wait*().

This crashed the Java applet but created no problem for JSmol/HTML5.

Once I coded to use jmolScript() (no Wait) while in "set picking center" mode, the problem was solved.

jmolScriptWait() did solve another problem earlier, and generally seems to me a good idea, so I use it by default for all scripts in FirstGlance, with certain exceptions (such as zoomto and now "set picking center").

Whew! Thanks again!

Eric

On 5/23/16 12:09 AM, Robert Hanson wrote:
Check your callback function. Perhaps it is hanging in that. I think it is jmolPickCallback

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to