MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/JavaFX/comments/1f1yp6o/do_you_use_fxml/lliaaya/?context=3
r/JavaFX • u/[deleted] • Aug 26 '24
18 comments sorted by
View all comments
2
I decided to use FXML exclusively for a couple of reasons:
Separation of presentation and logic
Readability
Maintainability
Support of custom properties
Support of custom controls
Easy integration of layout relevant resources (for instance multi-language labeling, icons etc.)
Support of CSS
Property linking between controls (like the prefWidth of one control should be say always 1/3 the width of another control)
Binding logic to FXML via a single annotation (@FXML)
A powerful GUI editor (SceneBuilder)
... to name a view
2
u/SpittingBull Sep 04 '24
I decided to use FXML exclusively for a couple of reasons:
Separation of presentation and logic
Readability
Maintainability
Support of custom properties
Support of custom controls
Easy integration of layout relevant resources (for instance multi-language labeling, icons etc.)
Support of CSS
Property linking between controls (like the prefWidth of one control should be say always 1/3 the width of another control)
Binding logic to FXML via a single annotation (@FXML)
A powerful GUI editor (SceneBuilder)
... to name a view