Java JFileChooser fileChooser()

Here you can find the source of fileChooser()

Description

file Chooser

License

Open Source License

Declaration

public static JFileChooser fileChooser() 

Method Source Code

//package com.java2s;

import javax.swing.JFileChooser;

public class Main {
    public static JFileChooser fileChooser() {
        JFileChooser fc = new JFileChooser();
        fc.setAcceptAllFileFilterUsed(false);
        fc.setCurrentDirectory(new java.io.File("."));

        return fc;
    }/*from   ww  w  . j  a va  2 s .  c o  m*/
}

Related

  1. createOpenFileChooser(String title, String dir, Component parent, FileFilter filter)
  2. createReportFileChooser(String curDir, File defaultReportFile)
  3. createUserDefinedProfileFileChooser()
  4. directoryFetch(File starting)
  5. exportFile(JFileChooser fileChooser, String contents)
  6. getChoiceFileFromUser()
  7. getDir(String title, String initDir, boolean allowFiles, Component parent)
  8. getDriveDisplayName(File path)
  9. getExtension(File f)