Angel, I've been in contact with the Java designers and have been using
1.6.0_10-rc successfully in Firefox 3 and MSIE for about a month now.

The flashing popups:

In the previous beta version of Java 1.6 they had disabled popups entirely
due to security issues. (There was a way to create an entire screen covered
with carefully generated mosaic popups that could fake a secure site.)

The flashing border is the compromise solution to allow popups. We should be
pleased with that solution.

I see the painting issue only with the yellow border, not the rest of the
menu.


On Thu, Sep 4, 2008 at 2:30 PM, Angel Herráez <[EMAIL PROTECTED]> wrote:

>   (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)
>

You can also just use:

    jmolInitialize("./", "JmolApplet.jar")
   jmolSetCallback("draggable", "true")
   jmolApplet(400)

I keep thinking we should implement jmolSetCallback also as
"jmolSetParameter" but I'm worried that that sounds too much like
"jmolGetProperty"


Bob



>
>
>
>
> -------------------------------------------------------------------------
> 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
>
>


-- 
Robert M. Hanson
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
-------------------------------------------------------------------------
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