void (@NotNull String title, String message, @NotNull String okButton, @Nullable Window window) { MessagesService.getInstance().showMessageDialog( null, window, message, title, new String[]{okButton}, 0, -1, UIUtil.getErrorIcon(), null, false, null); }