class OkCancelDialog extends Window {

    protected void ok() {
        okHandler.apply();
    }

    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);

}