JDK-6986229 : Issues with loading of Swing based applets with JDK7
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS:
    linux_suse_sles_11,windows,windows_xp,windows_vista linux_suse_sles_11,windows,windows_xp,windows_vista
  • CPU: generic,x86
  • Submitted: 2010-09-20
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b123Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Test JDK build: JDK7-b109/b110
With JDK7 it has been noticed that Swing based applets fails to render/paint when tried to load inside the IE or FF browsers. On doing a page reload everything works fine on IE but not all the time inside Firefox browser
Issue is not reproducible with 6u21 or 6u22
Steps to reproduce:
1) Install JDK7 (above mentioned bundles)
2) try to load any of the following applet
http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/ALC/SimpleSwingTest1.html
http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/ALC/SimpleSwingTest.html
If nothing is getting displayed inside the applet area then bug is reproduced
Links to Java source: 
http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/ALC/SimpleSwingTest.java

Comments
EVALUATION Added unconditional validation of component hierarchy after init and start.
15-12-2010

EVALUATION suggestion from awt/swing team on where to investigate in plugin code: So I guess the problematic component is the plugin implementation on FF which doesn't resize the applet's panel on startup. (that should probably be done by a layout manager installed to the embedded frame of the applet; and of course, the embedded frame itself should also be correctly sized by the plugin).
08-10-2010