Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Model  RSS feed

 
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: 9425
12
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
Boost this thread!