public class SaveFileDialog
extends java.lang.Object
OverwriteFileDialog
class is the dialog used for asking the user if the actual
file should be saved or not.Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAnswer()
Gets the user answer chosen in the save dialog.
|
static SaveFileDialog |
showDialog(javax.swing.JFrame frame)
Shows the
SaveFileDialog dialog with three options : yes, no and cancel. |
public static SaveFileDialog showDialog(javax.swing.JFrame frame)
SaveFileDialog
dialog with three options : yes, no and cancel.frame
- the parent frame of the save dialog.public java.lang.Boolean getAnswer()