Yes, I suspect they do have a different security for localHost. No doubt
people have tried to weasel in on that port to extract information that is
really local, not remote.
I do think that the signed applet is the way to go with any local
application. It's not just file location. It's all the other fun stuff, like
saving the state, writing PNG and PovRay files, creating 3D PDF files now.
If you are doing a local installation, use the signed applet.
I guess I've never noticed the delay. I use the signed applet all the time.
Where was it that you saw it before the tests? Was it in response to a hover
event?
Obviously you don't really want to be firing scripts at the applet 20 times
per second. It seems to me a better design would be to use the applet's own
Jmol script to do that.
The 200 ms is per script, yes. I think that's not really necessary. Let me
take a look...
But in what I have uploaded to
http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11.jar
I have reduced that to a 50-ms delay. I guess it's not really any
significant overhead to reduce the time of that. All it is doing is looking
at a Vector to see if a new script has arrived.
Bob
On Fri, Jul 23, 2010 at 3:38 PM, Paul Pillot <
paul.pil...@ac-orleans-tours.fr> wrote:
> Thanks Michael, Wayne and Bob for that,
> -Paul
>
> Le 23 juil. 2010 à 20:09, Robert Hanson a écrit :
>
> > Here's what I know:
> >
> > With the signed applet, the default is to have useCommandThread=TRUE, and
> with the unsigned applet, it is FALSE.
> >
> > With the signed applet, you can have a problem opening some files if you
> do not useCommandThread. If you have problems with the signed applet opening
> files, let me know.
> >
> > With the unsigned applet, I don't think it matters, because you couldn't
> open other files anyway.
> >
> > When the value is TRUE, there is a 200-ms delay that is built in, because
> the processor has to cycle and check for "jobs" to do. If that is causing
> the sluggishness, we could try different numbers. I've checked in a change
> to 50 ms for that.
> >
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
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
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users