jfilechooser missing buttons on windows 7
843806Jul 26 2009 — edited Aug 26 2009JFileChooser appears to be missing several buttons when displayed with the system look and feel on Windows 7. The missing buttons are 'Up One Level', 'Create New Folder', and 'Details'. The 'List' button is visible but is missing its icon. The other buttons are completely invisible but the tooltips for the missing buttons show up when the mouse is hovering in the correct area of the button.
The following will produce the issue on my machine:
import javax.swing.*;
public class JFileChooserTest {
public static void main( String[] args ) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
JFileChooser foo = new JFileChooser();
foo.showOpenDialog(null);
}
catch ( Exception ex ) {}
}
}
I'm using jdk 1.6.0_14, which is supposedly 'Windows 7 ready' and running with the latest nVidia display drivers for Windows 7. I also see this issue with other 1.6.0_xx jdk's.
Has anyone else seen this behavior?
Thanks