public static void showErrorDialog(@NotNull Component component, @DialogMessage String message) {
    showDialog(component, message, CommonBundle.getErrorTitle(), new String[]{getOkButton()}, 0, getErrorIcon());
  }
public static void showErrorDialog(@NotNull Component component, @DialogMessage String message)