This content has been marked as final. Show 4 replies
Because you have put them in the parent class as private? Change to protected (or let default to package).1 person found this helpful
Perhaps @FXML doesn't work with inheritence.1 person found this helpful
I'd be interested to know if this works when you follow edward's advice and change the access permissions of the fields.
If it doesn't, then you will need to define the superclass fields in the subclass to get their injection working.
Just dummied up a test and inheritance works fine for @FXML - i.e. I changed Button to protected and moved it to parent class and it was populated.1 person found this helpful
I tried it and it worked.