I've seen a few variations of the MVC pattern when it comes to swing applications. However, my question is a little bit more general than just swing and it relates to what exactly belongs in the model.
I've adapted a sample I found online regarding the MVC pattern.
Should only the controller have access to update the View?
Is the code in Model.java considered "model" code, or does what I have in Model.java actually belong in Controller.java?
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop