JFileChooser on 64bit Windows Vista is not showing all subfolders.
When we use JFileChooser on Windows Vista 64bit machine it miss some of the subfolders. e.g at 'C:\WINDOWS\system32' folder it's not showing '\spool' folder which is there actually.
import javax.swing.JFileChooser;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import com.sun.java.swing.plaf.windows.WindowsLookAndFeel;
publicclass TestChooser{
publicstaticvoid main(String[] args){
SwingUtilities.invokeLater(new Runnable(){
publicvoid run(){
try{
UIManager.setLookAndFeel(new WindowsLookAndFeel());
JFileChooser chooser =new JFileChooser();
chooser.showOpenDialog(null);
}catch (Exception e){
thrownew RuntimeException(e);
}
}
});
}
}

