This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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
Posts: 9279
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