This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Model" Watch "Model" New topic
Author

Model

Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
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

Joined: Oct 29, 2001
Posts: 8713
    
    6

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Model
 
Similar Threads
JTable
JTable
JTable
Jtable CellEditor
Jtable