Le 24 juil. 2010 à 00:09, Robert Hanson a écrit :
>
> 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 agree with you. My surprise comes from the fact that I thought that a local
server could be a good way to test the website before putting it on a
webserver. With the restrictions firefox puts on localhost, it's not the way
to go (at least with that browser).
>
> 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?
Yes ! Imagine scrolling over a list of 100 residues name, each of them firing a
mouseOver event that sends a script to Jmol. The response is immediate with
safari. It's unbearable with firefox with the useCommandThread on (the display
becomes inactive for seconds)
>
> 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.
Sure, that's what I woulds normally do. The test was intended to find out what
is the minimum response time for the applet, and it allows comparisons between
browsers/configs, which could be interesting.
I'll try with the new signed applet. In case it's not satisfactory, I think I
will implement a kind of script stacking, that would store pending scripts
while the applet finishes the current script and would fire the pending scripts
in one row, afterwards.
-Paul
------------------------------------------------------------------------------
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