File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes MVC pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "MVC pattern" Watch "MVC pattern" New topic

MVC pattern

leo donahue
Ranch Hand

Joined: Apr 17, 2003
Posts: 327
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 considered "model" code, or does what I have in actually belong in

Thanks, leo
I agree. Here's the link:
subject: MVC pattern
It's not a secret anymore!