int (@NotNull String title, String message, String @NotNull [] buttons, boolean errorStyle, @Nullable Window window, int defaultOptionIndex, int focusedOptionIndex, @Nullable DoNotAskOption doNotAskDialogOption) { Icon icon = errorStyle ? UIUtil.getErrorIcon() : UIUtil.getInformationIcon(); return MessagesService.getInstance().showMessageDialog( null, window, message, title, buttons, defaultOptionIndex, focusedOptionIndex, icon, doNotAskDialogOption, false, null); }