JFileChooser: setFileHidingEnabled(boolean b)
import javax.swing.JFileChooser; public class Main { public static void main(String[] argv) { JFileChooser chooser = new JFileChooser(); boolean hidingEnabled = chooser.isFileHidingEnabled(); chooser.setFileHidingEnabled(false); chooser.showOpenDialog(null); } }