I tried a few approaches for managing "screens" from fxml centrally, but none was satisfactory to me.
I tried implementing a dynamic registry, but searching through the classpath was too complicated for me.
I tried having a public static method to load the scene, but that meant a lot of duplicated code for loading fxml and needlessly implemented methods that all do the same.
My internal code quality metrics tell me that thats not a good solution either.
So are there any libraries that i could look at or well known patterns that i could follow?