mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-01-11 19:29:47 +00:00
Doc
This commit is contained in:
parent
a7ef714943
commit
b090cb5ec4
BIN
resources/disklist.png
Normal file
BIN
resources/disklist.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 504 KiB |
@ -17,14 +17,12 @@ public class CSVFileWriter
|
|||||||
FileWriter writer;
|
FileWriter writer;
|
||||||
|
|
||||||
JFileChooser fileChooser = new JFileChooser ();
|
JFileChooser fileChooser = new JFileChooser ();
|
||||||
// fileChooser.setCurrentDirectory (new File (csvFile));
|
|
||||||
fileChooser.setSelectedFile (new File (csvFile));
|
fileChooser.setSelectedFile (new File (csvFile));
|
||||||
int returnValue = fileChooser.showSaveDialog (null);
|
int returnValue = fileChooser.showSaveDialog (null);
|
||||||
if (returnValue != JFileChooser.APPROVE_OPTION)
|
if (returnValue != JFileChooser.APPROVE_OPTION)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
File selectedFile = fileChooser.getSelectedFile ();
|
File selectedFile = fileChooser.getSelectedFile ();
|
||||||
System.out.println (selectedFile.getName ());
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user