[rfc][icedtea-web] Add helper for getting NetxPanel's by unique key

Adam Domurad adomurad at redhat.com
Mon Jun 3 09:04:54 PDT 2013


Hi all. This mostly makes sense in the context of a patch that Jiri 
Vanek is working on. This adds a missing piece needed to operate on all 
NetxPanel's with a given unique key.

To get the NetxPanel's from 
UnsignedAppletTrustConfirmation.checkUnsignedWithUserIfRequired just do:

List<NetxPanel> appletPanels = 
PluginAppletViewer.getAppletPanelsWithUniqueKey(file.getUniqueKey());

ChangeLog:
2013-06-03  Adam Domurad  <adomurad at redhat.com>

         * netx/net/sourceforge/jnlp/NetxPanel.java
         (getUniqueKey): New, returns applet unique key.
         (getThreadGroup): Use getUniqueKey.
         (NetxPanel): Use getUniqueKey.
         * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
         (getAppletPanelsWithUniqueKey): New, get all applet panels with a
         given unique key.

Pushing probably depends on how useful it is to Jiri.

Happy hacking,
-Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netxpanels-from-unique-key.patch
Type: text/x-patch
Size: 3733 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130603/e6c8aaa3/netxpanels-from-unique-key.patch 


More information about the distro-pkg-dev mailing list