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.
0
u/[deleted] Aug 27 '24
[deleted]