r/JavaFX • u/Draaksward_89 • Jan 16 '25
Help Grouping @JXML into an entity
Is it possible to combine several
```
\@FXML private TextField myField
```
into a separate class, which then would be used in a `\@FxmlView`?
1
Upvotes
View all comments
Show parent comment
1
u/sedj601 Jan 16 '25
You are going to have to inject the fields the normal way. Other options are to create a custom node or do your fields in pure code and add them to an FXML node.