FileDialog.promptFileOverwrite

Overview | Methods | This Package | All Packages

FileDialog.promptFileOverwrite

Prompts the user when a file is about to be overwritten.

Syntax

protected boolean promptFileOverwrite( String fileName )

Parameters

fileName

The name of the file to write to.

Remarks

This method is invoked when the overwritePrompt property is set to true and the specified file already exists. A return value of false prevents the dialog box from closing.