Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Model

 
Prashanth Bhanu
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
1)I'll take a Jtable as an example to know the MVC Architeture
.Can Any body tell me with respect to JTable where is View?
where is model? and where is control??
2)what is the difference between TableModel and DataModel?Why do we need both?
thanx in advance
Prashu
 
Joe Ess
Bartender
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by prashu bk:
Hi Friends,
1)I'll take a Jtable as an example to know the MVC Architeture

This article on the Swing Architecture explains it better than i.

2)what is the difference between TableModel and DataModel?Why do we need both?

Can you clarify this question? There is no class named "DataModel" in the Sun Java API 1.4.2.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic