I have a problem with JFileChooser.
I want to use save dialog of JFileChooser.I expected the dialog
automatically shows a message if the selected file exists and ask
the user if he wants to overwrite it. But (sadly) it does not!
Can someone help??? Is there anything should be done with the
dialog (like setting a property) or I have to write some codes
for it (such as getting the selected file name from the dialog and
checking its existence ???)
0 · ·