• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is this MVC?

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So if I meet an essay question about: does your GUI design use MVC pattern? I have to say no?
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic