JFileChooser.isFileHidingEnabled() has the following syntax.
public boolean isFileHidingEnabled()
In the following code shows how to use JFileChooser.isFileHidingEnabled() method.
// w w w . j a v a 2s . c o m 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); } }