mercredi 20 mai 2020

How can I make controller single tone?

I am implementing MVC pattern in my JavaFX app. The situation is as follows: there are two fxml files with one controller, and when the second file tries to access the state of the first, it turns out to be out of sync, because two controller objects were created. Which exit?

Aucun commentaire:

Enregistrer un commentaire