Loading the FXML has never been a noticeable bottleneck for me. And if it ever becomes a one, there are FXML to code converters like MLFX or fx2j.
edit:
Apparently you've seen it before in Migrating a JavaFX app. As a follow-up to that archived conversation, I did eventually manage to bundle multiple JavaFX and CLI apps into a single native-image, and auto-generate the native-image config files using an annotation processor.
View all comments
Show parent comment
2
u/sedj601 Aug 27 '24
IMO, slow is relative. I have made many JavaFX apps using FXML, and they are not slow. Maybe slow in the computer world but not in the human world.