S
SV
Hello,
I 'm writing a program in which I should be able to open and save files.
The problem is:
when I open a file, then create a new file and try to save this new file,
the save dialog window still suggests the name of that previous file.
This may seem like a detail, but I think you can easily overwrite your
previous file this way ...
So I 'd like to either set a default filename when using "save as", or let
the dialog window suggest no filename at all...
setSelectedFile(null) or setSelectedFile(default) doesn't seem to work ...
Does anyone have an idea how I can do this?
Thanks!
Stephanie
I 'm writing a program in which I should be able to open and save files.
The problem is:
when I open a file, then create a new file and try to save this new file,
the save dialog window still suggests the name of that previous file.
This may seem like a detail, but I think you can easily overwrite your
previous file this way ...
So I 'd like to either set a default filename when using "save as", or let
the dialog window suggest no filename at all...
setSelectedFile(null) or setSelectedFile(default) doesn't seem to work ...
Does anyone have an idea how I can do this?
Thanks!
Stephanie