package sample;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
In the above code all javafx are in red, as is Application. Below are the first two of the 13 errors that occur with the javafx sample program (Hello World). (The rest are similar.
Error:(3, 26) java: package javafx.application does not exist
Error:(4, 19) java: package javafx.fxml does not exist
Clearly fixing any one of them is probably going to fix them all.) Everything seems to be fine until I try to run it.
I'm working in IntelliJ 2019.2.4 using SDK 12. (Scenebuilder is installed and seems to work.)
Anybody have a suggestion?

