JDK-6921681 : win7: JFileChooser with Windows Look & Feel no standard buttons on top
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u17
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2010-02-01
  • Updated: 2011-01-19
  • Resolved: 2010-05-21
Related Reports
Duplicate :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Versione 6.1.7600]

EXTRA RELEVANT SYSTEM CONFIGURATION :
Windows 7 64 bit (Italian Language)

A DESCRIPTION OF THE PROBLEM :
When using JFileChooser with Windows look and Fell the buttons on top for going to superior folder, creating new folder or changing type of display have no images, are blank. Functionality is not affected.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
You can easily use the JFileChooserDemo2 to reproduce the bug, from the folder where you have the jar use the command line:
java -classpath .;FileChooserDemo2.jar components.FileChooserDemo2
then try:
java
-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel -classpath .;FileChooserDemo2.jar components.FileChooserDemo2

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
When using Metal look & feel everything looks good, with Windows look and fell standard toolbar buttons have no images.
ACTUAL -
When using Metal look & feel everything looks good, with Windows look and fell standard toolbar buttons have no images.

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION I guess we'll leave it to the native dialog
12-05-2010