Retrieves the dialog result which designates the value that is returned from this form when it is displayed as a modal dialog.
public final int getDialogResult()
Returns the dialog result. This value equates to one of the enumeration constants defined in the DialogResult class.
See Also setDialogResult