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