Method getSelectedFile()
Return type: java.io.File
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 return (SPFile) getSelectedFile();
2 data = filechooser.getSelectedFile();
3 java.io.File file = fileChooser.getSelectedFile();
4 java.io.File file = fileChooser.getSelectedFile();
5 dir.setText(chooser.getSelectedFile().getPath());
6 cygwinTextField.setText(fc.getSelectedFile().getAbsolutePath());
7 cvsExeTextField.setText(fc.getSelectedFile().getAbsolutePath());
8 setTimeScript(createTimeScript(chooser.getSelectedFile()));
9 File f = getFileChooser().getSelectedFile();
10 file = chooser.getSelectedFile();
11 ((GuiModel)getModel()).loadSourceFromFile(chooser.getSelectedFile());
12 addProject(chooser.getSelectedFile().getAbsolutePath());
13 jTextFieldBaseDir.setText(fileChooser.getSelectedFile().getAbsolutePath());
14 if (ret==JFileChooser.APPROVE_OPTION && fd.getSelectedFile()!=null) {
15 outputFile = outputFileChooser.getSelectedFile();
16 logStream = new PrintStream (new FileOutputStream(logFileChooser.getSelectedFile()));
17 String fileChoosed = fc.getSelectedFile().getAbsolutePath();
18 File dataFile = chooser.getSelectedFile();
19 File selectedDir = photoDirChooser.getSelectedFile();
20 return dialog.getSelectedFile().getAbsolutePath();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.