JDK-6652077 : New Plug-In is missing some visual effects when applet loads
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-01-17
  • Updated: 2010-09-08
  • Resolved: 2008-02-19
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 6
6u10 b12Fixed
Description
When using the New Plug-In, there is a lag time with blank page between accessing the applet and when the applet loads.

To reproduce:
- With 6uN-b10 installed, start IE 7
- Load an applet. I used: http://java.sun.com/applets/jdk/1.4/demo/applets/Animator/example1.html
- Observe that:
    1. The oranage box does not show, instead it is a blank page with static html code displayed.
    2. When the status at the left bottom corner of a browser shows "done", it take about a second for the applet to load.

The behaviors are different from classic Plug-In in:
    1. The orange box always shows when this same applet being loaded
    2. No obvious lag time between the orange box dismisses and the applet loads

This could be a visual effect problem (no orange box shows); therefore, we see a lag time. However, the visual behaviors are different in these 2 plug-ins.

Comments
EVALUATION For some applets which require longer time to load, the orange box animation fails to show up with the new java plug-in. The problem is due to we're suspending and shutting down the GrayBoxPainter too early. Suspending and shutting down the GrayBoxPainter right before showing the applet instead of when the applet has the "loaded" status fixes this problem.
25-01-2008