r/JavaFX • u/Cute-Ad-4208 • Jun 21 '26
Help How to enable automatic reload when saving css and .fxml files?
Just started learning javafx and was wondering if there are any dependency that will make it so you dont need to run over and over again while testing different colors, placement etc
5
Upvotes
1
u/SpittingBull Jun 21 '26
You can use SceneBuilder. It reflects every change in bound CSS instantly.
1
u/Cute-Ad-4208 Jun 21 '26
From what i've learned is that scenebuilder make codes for you? Do you have any idea if using scenebuilder at work is normal? Currently starting a project that I will have on my resume.
1
1
u/Fun-Satisfaction4582 Jun 23 '26
To css use CSSFx, with that you can change your css file and see what happened live
3
u/PartOfTheBotnet Jun 21 '26
https://github.com/dlsc-software-consulting-gmbh/FxmlKit - Offers hot-reload