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 Applying MVC to a 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 "Applying MVC to a "windows explorer" like program" Watch "Applying MVC to a "windows explorer" like program" New topic

Applying MVC to a "windows explorer" like program

Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 267
Its been at least a year since I've posted and I'm about to write a program for my own use. Its sort of like a file viewer which is why I'm basing it on windows explorer. I'd like to use MVC since when I lost my job that was the pattern used on the project and it still seems prevalent today. I know Swing can be used for the View but I'm not sure what the Model and the Controller would be written in. I do understand I will need to get a firmer grasp of MVC but this is just prep work for down the road. Since there will be a lot of file interation would NIO be in the Model or the Controller? I was thinking the model.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Model sounds good. It generally represents the underlying domain objects so that they can be used by any number of views or controllers.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Applying MVC to a "windows explorer" like program
It's not a secret anymore!