@Override
  public @Nullable String getErrorMessage(@NotNull Project project, @NotNull VirtualFile file) {
    final String javaErrorMessage = JavaProjectSdkSetupValidator.INSTANCE.getErrorMessage(project, file);
    if (javaErrorMessage != null) {
      return javaErrorMessage;
    }
    if (DumbService.isDumb(project)) {
      return null;
    }
    final PsiClass nodeClass =
      JavaPsiFacade.getInstance(project).findClass(JavaFxCommonNames.JAVAFX_SCENE_NODE, GlobalSearchScope.allScope(project));
    if (nodeClass == null) {
      return JavaFXBundle.message("javafx.project.sdk.setup.validator.runtime.not.configured.error");
    }
    return null;
  }
@Override
  public @Nullable String getErrorMessage(@NotNull Project project, @NotNull VirtualFile file)