Hi Guys,
I am still having problems seeing the benefit of have a MVC
pattern in the GUI!
With web components like
Servlets and
JSP it makes prefect sense!
What I understand is that you have one class with all the GUI components and "Hook methods - as Mark explains". Another class which is your controller. And a third class which is your model.
Say for example you decide to extends AbstractTableModel in your model class, that directly links your Model to Swing. Which of these 3 components will you be able to reuses?
The only way I can see reusability is if you want a different GUI, with different layout.
Can anyone explain this to me please?
One last question is whether the View may call methods on the model?
Kind Regards
Fred