javafx.embed.swing.SwingFXUtils package can't be found -- any help please

I am building a simple javaFX app in IntelliJ -- recently downloaded and installed the IDE, recently downloaded the most recent java install, used the "javaFX app" option to create the project -- don't understand why this is a problem

running this:: System.out.println("javafx.runtime.version: " + System.getProperties().get("javafx.runtime.version"));gives me this:: javafx.runtime.version: 20+19 -- which as far as I can tell should include the above packages

but the import statement doesn't work and it won't build


Please sign in to leave a comment.