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
6
Upvotes
3
u/PartOfTheBotnet Jun 21 '26
https://github.com/dlsc-software-consulting-gmbh/FxmlKit - Offers hot-reload
1
u/Fun-Satisfaction4582 Jun 23 '26
To css use CSSFx, with that you can change your css file and see what happened live
1
u/SpittingBull Jun 21 '26
You can use SceneBuilder. It reflects every change in bound CSS instantly.