I'm currently trying to convert a JavaFX app to a FXML app(work requirements), and I've been running in circles for a while now. I understand the basic principle (User interface and the backend workings defined separately), but all the hoop-jumping, technicalities, workarounds, all those initialize()s, loaders, start()s, launch()s, controllers, injections and whatnot are getting a bit over my head. The app in its current state spits out a compile time error that I couldn't divine anything out of if my life depended on it, but I vaguely suspect it leads somewhere into the underlying murk of the whole FXMLLoader thing.
This is no way to work. The tutorials only explain a part of it each, and my current modus operandi is still copying over/slightly modifying bits of code I find wherever and hoping it will work somehow, rather than actually understanding the principle and taking well-reasoned steps towards a clear goal. Is there a list of everything I need to do to make a FXML app work, or some clear explanation of how it all comes together?