JDK-6425126 : PIT File Dialog icon is not matching with the new java icon (frame Icon) - PIT build.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2006-05-12
  • Updated: 2011-01-19
  • Resolved: 2006-06-21
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
6 b89Fixed
Related Reports
Relates :  
Description
File Dialog icon is not matching to the new java icon.   
Step to reproduce:
--------------------
1) Run the attached program.
2) click on the 'Click Me' button. You can see a File Dialog , Observe that File dialog icon is not matching with the frame icon ( new java icon). 

This is reproduce on solaris & cinnabar. This works fine in Mustang b83.
This is reproducable in pit build 85.

Comments
EVALUATION With previous fix FileDialog allowed to change it's icon explicitly with FileDialog.setIconImage[s](). Also verified that frame.setIconImage[s] is okay as well as PrintDialog(it seem okay without the fix too)
25-05-2006

EVALUATION Only file dialog is affected with this issue. Print one looks okay.
23-05-2006

SUGGESTED FIX XFileDialogPeer.java public void updateIconImages() { + if (winAttr.icons == null){ + winAttr.iconsInherited = false; + winAttr.icons = getDefaultIconInfo(); + setIconHints(winAttr.icons); + } }
23-05-2006

EVALUATION The regression caused by fix for 6339074. Previously icons were not set for dialogs in XToolkit by any means. However metacity duplicates parent's icon for owned windows. Need to set java cup icon for file dialog peer explicitly.
17-05-2006