getOkButton();
The getOkButton returns the OK button.
The OK button is an instance of the Button class.
The property use is given in description of the Dialog.getCancelButton method.
See also:
Dialog