public static void showErrorDialog(@DialogMessage String message, @NotNull @DialogTitle String title) {
    showErrorDialog((Component)null, message, title);
  }
public static void showErrorDialog(@DialogMessage String message, @NotNull @DialogTitle String title)