r/JavaFX • u/Dense_Age_1795 • Aug 06 '25
Help there is any standarized way of navigating between scenes
Hello everyone I'm basically creating a desktop app that have multiple scenes, but right now I'm doing patchwork for managing the state of which scene is showing, ugly code that make harder to do dependency injection.
So what do you recommend me? there is any tool that permit and easy way of navigating between scenes and inject the dependencies, I'm using Guice for DI.
9
Upvotes
View all comments
Show parent comment
1
u/Dense_Age_1795 Aug 07 '25
the main problem with mvvmfx is that it doesn't have support to java 11 modules, and that made incompatible with the most modern version of javafx, anyways I will look the MVCI approach, thanks a lot.