Example usage for javax.swing JFileChooser isFileHidingEnabled

List of usage examples for javax.swing JFileChooser isFileHidingEnabled

Introduction

In this page you can find the example usage for javax.swing JFileChooser isFileHidingEnabled.

Prototype

public boolean isFileHidingEnabled() 

Source Link

Document

Returns true if hidden files are not shown in the file chooser; otherwise, returns false.

Usage

From source file:Main.java

public static void main(String[] argv) {
    JFileChooser chooser = new JFileChooser();
    boolean hidingEnabled = chooser.isFileHidingEnabled();
    chooser.setFileHidingEnabled(false);
    chooser.showOpenDialog(null);/*w  w w  . ja va 2 s  . c  om*/
}