This program uses Maven as a build manager, and JavaFX as a GUI library. Since JavaFX is an external library, it has to be included in the build process in order for the application to successfully run. JavaFX has already been added as a Maven dependency to the POM file.
To run the application with Maven in IntelliJ, follow these steps:
-
Click the vertical "Maven" expansion tab which is on the right side of the IntelliJ window.
-
Expand the "Plugins" folder.
-
Expand the "javafx" folder.
-
Double-click "javafx:run" to run the project.