Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
A few days ago, I designed a small framework for multiFXML projects where you can decouple the event configuration part from the controller in simpler actions. It's still in a very early developing phase but it might give you an idea.
You can always check https://github.com/mhrimaz/AwesomeJavaFX for interesting projects around JavaFX.
Although, there are more mature alternatives like https://github.com/netopyr/reduxfx
I would recommend using a Framework such as mvvmFX. Using such a framework coupled with a DI framework like Guice (for which mvvmFX has native support) lends itself very well to a complex UI build out of multiple views, stiched together either by using fx:include or views loaded programatically with it's FluentViewLoader, with data shared via Scopes and Repository classes injected into the ViewModels. I would highly recommend not using stock JavaFX for anything complicated.
If you are willing to consider Kotlin targeting JVM instead of pure Java, I would definitely recommend you to take a look at tornadofx. I have experience with both frameworks (mvvmfx and tornadofx), and I prefer the latter.