How can I add a JavaFX 2.0 class to an existing Maven project?

前端 未结 4 1862
星月不相逢
星月不相逢 2021-02-14 14:01

I have a Maven project that just displays a graph on the xy axis. I want to change that graph to a Javafx 2.0 linechart to display the same data. I tried using the FEST-javafx-m

4条回答
  •  野性不改
    2021-02-14 14:23

    You might try the JavaFX Maven plugin. This takes care of adding javafx to the classpath as well as building JavaFX apps and creating Windows/Mac/Linux executables, as well as double-clickable JARs and JNLP files.

提交回复
热议问题