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