Constructor JFileChooser(String currentDirectoryPath)
Member of:
javax.swing.JFileChooser
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
JFileChooser file = new JFileChooser(current);
2
JFileChooser file = new JFileChooser(current);
3
JFileChooser chooser = new JFileChooser(".");
4
JFileChooser chooser = new JFileChooser(textArea.getFile().getAbsoluteFile().getParent());
5
JFileChooser fd=new JFileChooser(System.getProperty("user.dir"));//getParentFrame(),getBrowseDescription());
6
JFileChooser chooser = new JFileChooser(textArea.getFile().getAbsoluteFile().getParent());
7
JFileChooser dialog = new JFileChooser(dir + File.separator + file);
8
JFileChooser chooser = new JFileChooser(System.getProperty("user.dir"));
9
JFileChooser chooser = new JFileChooser("./"+cert.getName().replace(' ','_')+configMgr.getCertificateFileExt());
10
JFileChooser fc = new JFileChooser(field.getText());
11
JFileChooser f = new JFileChooser(jTextField2.getText());
12
JFileChooser inputFileChooser = new JFileChooser(" ");
13
JFileChooser chooser = new JFileChooser(startPath);
14
JFileChooser fc = new JFileChooser(getDirpath().getText());
15
openDialog = new JFileChooser(System.getProperty("user.dir"));
16
new JFileChooser(System.getProperty("org.cougaar.install.path"));
17
new JFileChooser(config.getProperty(ConfigConstants.KEY_SES_LAST_FILE, System.getProperty("user.home")));
18
JFileChooser fileChooser = new JFileChooser(System.getProperty("user.dir"));
19
JFileChooser chooser = new JFileChooser(System.getProperty("user.home"));
20
JFileChooser fc = new JFileChooser(lastWorkingDirectory);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.