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