SWT-File-Save-dialog: how to show overwrite-confirmation
-
16-10-2019 - |
Question
Is it possible to show a overwrite-confirmation while the SWT file-save-dialog is shown and the user selected an existing file? Of course, I can show the file-save-dialog and later show a confirmation dialog, but this would be bad design.
Solution
FileDialog has setOverwrite method, you could use that.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow