I am making a Javafx app in IntelliJ. I tried to add "import javafx.scene.web.WebEngine" and "import javafx.scene.web.WebView" to my class. Unfortunately it was not able to import.
I then tried to import the library org.openjfx:javafx-web:17.0.2 in the project libraries, but it perpetually said "Resolving Maven Dependencies" without doing anything. Any time in the past I have added javafx libraries, it was added with no problem, but this library never adds itself. I can not seem to find the correct way to do this. So do I have the incorrect coordinates or is there something wrong with my configuration?
Edit: The library finally did load and showed fine for "org.openjfx:javafx-web:17.0.2" but showed red (error?) for "org.openjfx:javafx-web:mac:17.0.2". Import statement still does not work through I added to the module-info and pom.xml files. So I am still stuck and unsure why it did not work.