Given an .fxml include like:
<fx:include fx:id="header" source="Header.fxml" />
The Java FXML docs say to create two variables like:
@FXML private HBox header;
@FXML private HeaderController headerController;
What determines the controller variable name? Is it always just the include id followed by "Controller"?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…