JavaFX: can controller be an abstract class?
问题 I have been working on this part of code for a day and just can't figure out why it always generates error. I have a controller and FXML. They worked perfectly. Then it came to my mind that I want to reuse this particular controller with a abstract updateSelect() function. Therefore, I change the controller to abstract. The code compiled just fine. Until I try to run this part of code. @FXML private void mnuProjMember_onClick(ActionEvent event) { mainContent.getChildren().clear(); FXMLLoader