I want to import javafx media player but it doesn't appear, I can just import java and javax tools.
Please how can I import javafx in a maven project??
I want to import javafx media player but it doesn't appear, I can just import java and javax tools.
Please how can I import javafx in a maven project??
Go to openjfx.io. Open the Getting Started section. Follow the net beans instructions in the sections titled "JavaFX and NetBeans", and "Modular with Maven":
If you need to use external 3rd party libraries which don't work well with JavaFX Modules, then follow the instructions "Non-modular with Maven" instead.
I advise you to use maven and follow the info on adding the media module here:
OR, use Bellsoft Liberica “Full JDK” or an equivalent that includes JavaFX modules.
Make sure if you use Liberica that you choose "Full JDK", not "Standard JDK".