NetBeans and JavaFX – clean up and build each run?

I recently started using JavaFX in the NetBeans ide I brought the example of Hello world because it's not complicated, but there's one big thing I hate:

In my fxml project, I have to clean & build the entire project before applying the changes

>Is this normal? > Can I skip this? Committed to my Lenovo yoga, clean & amp; Construction and development need more than a minute! This is a role that yearns for a single change

I am using:

>NetBeans version: 7.2 1 > project type: JavaFX fxml > JDK: 7

In addition, I cannot select the properties – > build – > compile – > compile save check box

Solution

Netbeans 7.2. 1 does not support compiling on a save for JavaFX project, so you must manually recompile the project every time

Another way is to create a normal java project and import JavaFX jar (jfxrt. Jar IIRC) You can use compile save without recompiling the entire project each time you make changes (although you should still run clean and build before publishing the project)

In doing so, you may lose some JavaFX - related functionality - not quite sure

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>