List of usage examples for javax.swing JFileChooser resetChoosableFileFilters
public void resetChoosableFileFilters()
From source file:Main.java
public static void main(String[] argv) throws Exception { JFileChooser chooser = new JFileChooser(); File f = new File(new File("filename.txt").getCanonicalPath()); chooser.resetChoosableFileFilters(); chooser.showDialog(new JFrame(""), null); File curFile = chooser.getSelectedFile(); }