class OkCancelDialog extends Window {

    public void setOkCaption(String okCaption) {
        okButton.setCaption(requireNonNull(okCaption, "okCaption must not be null"));
    }

    protected  OkCancelDialog(String caption, Handler okHandler, Handler cancelHandler,
            ButtonOption buttonOption, Component... contentComponents);
    @Deprecated public  OkCancelDialog(String caption);
    @Deprecated public  OkCancelDialog(String caption, Handler okHandler);
    @Deprecated public  OkCancelDialog(String caption, Handler okHandler, ButtonOption buttonOption);
    @Deprecated public  OkCancelDialog(String caption, Component content, Handler okHandler, ButtonOption buttonOption);

}