United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6840086 JFileChooser lacks icons on top right when running on Windows 7
JDK-6840086 : JFileChooser lacks icons on top right when running on Windows 7

Details
Type:
Bug
Submit Date:
2009-05-12
Status:
Closed
Updated Date:
2012-07-24
Project Name:
JDK
Resolved Date:
2009-12-28
Component:
client-libs
OS:
windows_vista,windows_7
Sub-Component:
javax.swing
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
5.0u25,6,6u10,6u14,6u17,7
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Relates:
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together