How to synchronize GUI and logic
Hello,
how is it possible or which is the best way to synchronize a gui with the business logic?
I mean, I have a class to store data and manipulate it. And I have an other class which contains the GUI with checkboxes, editboxes and so on. In case of all elements I check user changes and set the corresponding value in the business logic. So I have a lot of "on_change" event handlers. Each swing component has one.
I think it is not the right sollution. Any suggestion?
Thanks!

