int (@NotNull Component parent, @DialogMessage String message, @DialogTitle String title, @Nullable Icon icon) { return MessageDialogBuilder.okCancel(title, message).icon(icon).ask(parent) ? OK : CANCEL; }