JDK-6669943 : Java icon in system tray sometimes doesn't show up
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2008-02-29
  • Updated: 2010-09-08
  • Resolved: 2008-06-27
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 b21Fixed
Related Reports
Relates :  
Description
The Java logo in the system tray slot for the new Java Plug-In sometimes doesn't show up. This seems to happen most often in cold start situations. The reason most likely is the new com.sun.deploy.ui.WindowsTrayIcon class added in 6611346, which decoupled the system tray icon support from the old Java Plug-In. In the interest of keeping the code simple the new code doesn't properly support the case where the image doesn't get fully loaded within a short period of time. A proper ImageObserver needs to be added and the code modified to support the icon's image being loaded asynchronously.

Comments
EVALUATION Hooked up ImageObserver properly and added modifyIcon() method which can update the tray icon's image after its slot in the system tray has been allocated. Verified by manually injecting a several-second delay of the Toolkit image (using a background thread) and verifying that the system tray icon shows up correctly. No other test case possible.
10-03-2008

SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u10/6669943.0
10-03-2008