This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A Question in JTable ...  RSS feed

 
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!