I'm trying to create a simple Java desktop application using the Swing Application Framework and the MVC model but I'm struggling on some areas because there is a lack of good examples (the only SAF examples I have found are anything but MVC!).
I manage to fire events from components, but apart from that I struggle to use the MVC model with SAF. Are there any examples anywhere?
For instance, I fire an event (mapped with @Action) in the Viewer which sends it to the controller. But which function should I use? My AbstractController extends PropertyChangeListener.
How do I do the binding with SAF to both directions (model -> controller and view -> controller)?