Mega Code Archive

 
Categories / Java Tutorial / Swing
 

To enable the display of hidden files

import javax.swing.JFileChooser; public class JFileChooserHidingFiles {   public static void main(String[] a) {     JFileChooser fileChooser = new JFileChooser();     fileChooser.setFileHidingEnabled(false);     fileChooser.showOpenDialog(null);   } }