Mercurial > hg > release > icedtea7-2.2
changeset 2302:b52dc7f36b70
RH506730: BankID (Norwegian common online banking authentication system) applet fails to load.
2010-07-08 Omair Majid <omajid@redhat.com>
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
(reFrame): Pass the panel to the constructor, dont set it yourself.
(PluginAppletViewer): Set the panel to be the passed in object and only
then add it to the list of all panels.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Fri, 23 Jul 2010 00:26:40 +0100 |
parents | aca7e8363025 |
children | 69e2cfc5643f |
files | ChangeLog plugin/icedteanp/java/sun/applet/PluginAppletViewer.java |
diffstat | 2 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Jul 08 14:25:02 2010 -0400 +++ b/ChangeLog Fri Jul 23 00:26:40 2010 +0100 @@ -1,3 +1,10 @@ +2010-07-08 Omair Majid <omajid@redhat.com> + + * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: + (reFrame): Pass the panel to the constructor, dont set it yourself. + (PluginAppletViewer): Set the panel to be the passed in object and only + then add it to the list of all panels. + 2010-07-08 Omair Majid <omajid@redhat.com> PR icedtea/460
--- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Thu Jul 08 14:25:02 2010 -0400 +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Fri Jul 23 00:26:40 2010 +0100 @@ -393,8 +393,7 @@ if (oldFrame != null && handle == oldFrame.handle) return; - PluginAppletViewer newFrame = new PluginAppletViewer(handle, identifier, statusMsgStream, heightFactor, widthFactor); - newFrame.panel = panel; + PluginAppletViewer newFrame = new PluginAppletViewer(handle, identifier, statusMsgStream, heightFactor, widthFactor, panel); if (oldFrame != null) { applets.remove(oldFrame.identifier); @@ -425,13 +424,14 @@ */ private PluginAppletViewer(long handle, final int identifier, PrintStream statusMsgStream, double heightFactor, - double widthFactor) { + double widthFactor, AppletViewerPanel appletPanel) { super(handle, true); this.statusMsgStream = statusMsgStream; this.identifier = identifier; this.proposedHeightFactor = heightFactor; this.proposedWidthFactor = widthFactor; + this.panel = appletPanel; if (!appletPanels.contains(panel)) appletPanels.addElement(panel);