(This is a separated thread prompted by Henry's posts 
"New browser Chrome from Google")

I've just installed the new Java 6u10RC (1.6.0_10-rc)
It's difficult to say, but it does seem to load faster (before the applet) and 
shows less "dead" times in between loading Java logo and Jmol loading 
message, so it will good for users' feeling whole things download for the 
first time.

(All this applies to Firefox 3 and Google Chrome.)


The pop-up menu is surrounded with a flashing yellow border for a few 
seconds, and an alert yellow traffic sign stays all the time just outside the 
top-right corner of the menu. Don't know what they intend to mean by that.

The pop-up menu itself is badly repainted while browsing it wth the mouse 
pointer. White blots show up, and parts of the text entries are obscured. 
There is a problem there.

I don't see how I can drag the applet out of the browser, since dragging 
does rotation in Jmol. Wait! I'll try a different applet.... nope!

A Google search reports that it is Alt+left drag but must be activated in the 
applet:
1 - Deploy your applet using a JNLP file (previously just used for WebStart)
2 - Add the 'draggable' parameter to your applet.

Anyway, I don't see the point for Jmol. If we detach it from the webpage 
and its UI controls...

Wait!  a Java page says only the parameter part, no JNLP.

I've tested it and it works. The applet detaches (Firefox 3 and Chrome) and 
stays as a borderless window with a tiny close button (that returns it to the 
browser), no way to resize. Maybe useless, but cool!

This is the code I've used:

jmolInitialize("./", "JmolApplet.jar")
   jmolSetDocument(0)
   var s= jmolApplet(400)
   s = jmolAppletAddParam(s,"draggable", "true")
   document.write(s)
   jmolSetDocument(document) 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to