• Post Reply Bookmark Topic Watch Topic
  • New Topic

A Question in JTable ...

 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody is it possible to load data in JTable without TableModel

Regards,
vasanth
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can change values with "setValueAt" method and add a column, but you can't add a row without a tablemodel. You could initialize your table with dimensions big enough to hold the data you want to load later.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!