Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is defaule model or custom mode used by JTable

 
XJ LIN
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MY table Model exetends from abstractTableModel.
Is it called defaule model or custom mode?
Thanks
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really don't understand your question. JTable uses DefaultTableModel which extends AbstractTableModel. Is that what you are asking?
 
Stephane Weber
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understand your question well, you wrote an implementation of AbstractTableModel. And you are wondering whether you should consider this class a default or a custom model.
If that's the question, then the answer is custom. As you created it, this cannot be a default model anymore.
Hope this is it
Stephane
 
hao li
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
St�phane Weber and Ronnie Phelps
Thanks,
St�phane give me a right answer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic