JDK-6907255 : JFileChooser: no icons shown in Win7/64bit
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u17
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista,windows_7
  • CPU: x86
  • Submitted: 2009-12-04
  • Updated: 2011-02-16
  • Resolved: 2010-06-09
Related Reports
Duplicate :  
Duplicate :  
Description
FULL PRODUCT VERSION :
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

(happens also with update 16)

ADDITIONAL OS VERSION INFORMATION :
Windows 7 64bit

A DESCRIPTION OF THE PROBLEM :
When calling the JFileChooser on Win7/64bit with a 64bit build of JRE6 and using the Windows Look&Feel, the icons in the upper right corner are missing (like "up", "create new folder" etc.).

This happens also with Sun's own JFileChooser demo (http://java.sun.com/docs/books/tutorialJWS/uiswing/components/ex6//JWSFileChooserDemo.jnlp)

Under WinXP 32bit this works of course.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start the JFileChooser demo in Win7 64bit with a 64bit JRE installed and select "Open a File":

http://java.sun.com/docs/books/tutorialJWS/uiswing/components/ex6//JWSFileChooserDemo.jnlp

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Obviously the icons should be displayed just like under Win XP 32 etc.
ACTUAL -
The icons on the upper right are invisible.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
http://java.sun.com/docs/books/tutorial/uiswing/examples/zipfiles/components-FileChooserDemoProject.zip
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Using other Look&Feels seems to fix it. Obviously only the Windows Loo&Feel is broken.

Comments
PUBLIC COMMENTS It's a duplicate of CR 6840086
09-06-2010