Retrieves the dialog box result generated by clicking the button.
public final int getDialogResult()
Returns an integer that specifies the current dialog box result. Possible return values include constants defined in the DialogResult class.
See Also setDialogResult