Doc
This commit is contained in:
parent
a7ef714943
commit
b090cb5ec4
Binary file not shown.
After Width: | Height: | Size: 504 KiB |
|
@ -17,14 +17,12 @@ public class CSVFileWriter
|
|||
FileWriter writer;
|
||||
|
||||
JFileChooser fileChooser = new JFileChooser ();
|
||||
// fileChooser.setCurrentDirectory (new File (csvFile));
|
||||
fileChooser.setSelectedFile (new File (csvFile));
|
||||
int returnValue = fileChooser.showSaveDialog (null);
|
||||
if (returnValue != JFileChooser.APPROVE_OPTION)
|
||||
return;
|
||||
|
||||
File selectedFile = fileChooser.getSelectedFile ();
|
||||
System.out.println (selectedFile.getName ());
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue