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.

Was it helpful?

Solution

FileDialog has setOverwrite method, you could use that.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top