argh. Thanks, Martin. I see this discussed at: http://www.jdocs.com/javase/7.b12/java/awt/AWTPermission.html
Looks to me like they've closed a perceived flaw in Java 1.5 and 1.6, both of which have this permission but apparently don't apply it to popup menus. How do we lobby for retaining popup menus in the unsigned applet, or if that really is a serious security issue, how do we replace this, probably using JavaScript? Bob Martin Holz wrote: >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 > > -- 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 ------------------------------------------------------------------------- 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
