Hello,
the most recent JVMs will throw a AccessControlException, when you try to open
the JMol
context menu in a unsigned applet:
Exception in thread "AWT-EventQueue-2" java.security.AccessControlException:
access denied
(java.awt.AWTPermission setWindowAlwaysOnTop)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
at
java.security.AccessController.checkPermission(AccessController.java:555)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.awt.Window.setAlwaysOnTop(Window.java:2074)
at javax.swing.Popup$HeavyWeightWindow.<init>(Popup.java:232)
at javax.swing.Popup.createComponent(Popup.java:209)
at javax.swing.Popup.reset(Popup.java:147)
at
javax.swing.PopupFactory$HeavyWeightPopup.getHeavyWeightPopup(PopupFactory.java:339)
at javax.swing.PopupFactory.getHeavyWeightPopup(PopupFactory.java:268)
at javax.swing.PopupFactory.getPopup(PopupFactory.java:229)
at javax.swing.PopupFactory.getPopup(PopupFactory.java:174)
at javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:61)
at javax.swing.JPopupMenu.getPopup(JPopupMenu.java:801)
at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:754)
at javax.swing.JPopupMenu.show(JPopupMenu.java:927)
at org.jmol.popup.JmolPopupSwing.showPopupMenu(JmolPopupSwing.java:51)
at org.jmol.popup.JmolPopup.show(JmolPopup.java:757)
at org.jmol.applet.Jmol$MyStatusListener.handlePopupMenu(Jmol.java:874)
at org.jmol.viewer.StatusManager.popupMenu(StatusManager.java:256)
at org.jmol.viewer.Viewer.popupMenu(Viewer.java:2911)
at org.jmol.viewer.MouseManager.mousePressed(MouseManager.java:171)
at org.jmol.viewer.MouseManager11.mousePressed(MouseManager11.java:66)
at java.awt.Component.processMouseEvent(Component.java:6096)
This happend with "Java(TM) SE Runtime Environment (build 1.7.0-ea-b23)" and
(build
1.6.0_10-ea-b07). The older (build 1.6.0-b105) works fine. So for now only
beta versions
of java are affected.
Regards
Martin
--
Martin Holz <[EMAIL PROTECTED]>
Produktentwicklung Tel.: +49 30 399 77 218
FIZ CHEMIE Berlin
Franklinstrasse 11
D-10587 Berlin
Geschaeftsfuehrer Prof. Dr. R. Deplanque
Aufsichtsratsvorsitzender SenRat Bernd Lietzau, Berlin
Amtsgericht Charlottenburg HRB 19047
USt.-ID Nr.: DE 136 629 878
http://www.fiz-chemie.de
FIZ CHEMIE Berlin ist ein Institut der Leibniz Gemeinschaft
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers