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
1
u/OddEstimate1627 Aug 30 '24 edited Aug 30 '24
This entire application was done in FXML: https://www.youtube.com/watch?v=vjl5tz8bE90 . The SceneBuilder view is at the end.
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.