| Author |
Is this MVC?
|
michael opto
Greenhorn
Joined: Jan 17, 2002
Posts: 29
|
|
|
When I see the posts about MVC, I want to ask a question. I modified my table model, and called the table model's update methods to update the table. I am sure this is the MVC in swing. But I am not sure if this is the MVC you guys talked about the GUI design. Please help me on this.
|
 |
Ying Ren
Ranch Hand
Joined: May 24, 2002
Posts: 35
|
|
I think most of time the MVC means the total GUI design not only the JTable. I create a view class, a controller class and the a set of data related class. Ying Ren scjd2
|
 |
michael opto
Greenhorn
Joined: Jan 17, 2002
Posts: 29
|
|
|
So if I meet an essay question about: does your GUI design use MVC pattern? I have to say no?
|
 |
Michael Morris
Ranch Hand
Joined: Jan 30, 2002
Posts: 3451
|
|
Hi michael, I doubt you'll get a question stated that way. The questions you will get will ask you how you implemented locking or why you chose RMI over serialized objects and such things. There are no wrong answers on the essay if you know what you did. You don't have to mention MVC if you are concerned, if a question that might involve that crops up. Just describe what you did and all will be well. Hope this helps, Michael Morris
|
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
|
 |
 |
|
|
subject: Is this MVC?
|
|
|