MVC with JavaFX and FXML
问题 If I have a JavaFX project that uses FXML, how would I structure it to adhere to the Model-View-Controller pattern? This is what I would assume the general structure to be like: Model - Underlying program (what the GUI is representing). View - FXML file. Controller - FXML controller. The issue with this representation is that the view cannot be notified of the model's changes, as it is simply an FXML file. Should the view be the FXML controller class, and then should I have a main controller