I recently started working with JavaFX
at the Netbeans IDE. I come along with the Hello World examples as it is not that complicated, but there is one big thing that is totally annoying me:
As within my FXML
project, I have to Clean & Build the whole project before changes get applied.
Clean & Build & Run
takes more than a minute! That's way to long for one single changed character.I'm using:
7.2.1
JavaFX FXML
7
Also, I can't select the Properties -> Build -> Compile -> Compile on Save
checkbox.
Netbeans 7.2.1 does not support Compile on Save for JavaFX projects, so you have to manually recompile the project each time.
One alternative is to create a normal Java project, import the JavaFX JAR (jfxrt.jar
IIRC). Compile on Save will be available and you won't have to recompile the whole project every time you make a change (although you should still run a "clean and build" before releasing your project).
When doing that, you might lose a few JavaFx-related features - not completely sure.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With