Sets the value to be returned from the form when it is displayed as a modal dialog.
public final void setDialogResult( int value )
value
The value to return.
Calling this method sets the value of the dialog result, closes the modal dialog, and returns control to the calling form.
See Also getDialogResult, showDialog