JDK-6840086 : JFileChooser lacks icons on top right when running on Windows 7
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0u25,6,6u10,6u14,6u17,7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_vista,windows_7
  • CPU: x86
  • Submitted: 2009-05-12
  • Updated: 2012-07-24
  • Resolved: 2009-12-28
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u18Resolved 7 b74Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7100]

A DESCRIPTION OF THE PROBLEM :
The icons on buttons on the top-right of the file chooser ("Up one level", "Create new folder", ...) do not render under Windows 7.  The button outlines themselves do render, however.



REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION The current code cannot get resources with images under Windows 7. We should rewrite native code: use WinAPI instead of using resources of the Shell32.dll library.
2009-09-11