• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data Models in Swing

 
Kevin Jaffe
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please explain to me Java Swing "data models"? I've tried
the tutorial and a couple of books, but the whole thing remains pretty
incomprehensble and mysterious to me. In particular, what's the
rationale for introducing these "data models". Is there a simple
example that shows a design problem that is solved by introducing data
models?
And what is the conceptual relation, for example, between a
MutableTreeNode and a MutableTreeModel?
Thanks!
KJ
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Basically it deals with seperation of the Model from the
View. All of which is driven by the famous MVC pattern.
I know you are looking for a lot more, but then right now
I can't explain everything, Sorry!
- satya
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

A link to some literature on MVC, in case you are
interested...http://www.object-arts.com/EducationCentre/Overviews/MVC.htm
HTH.
- satya
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!