• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to change the total no. of rows of JTable  RSS feed

 
tausahmed ahmed
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once set the total no. of rows of a JTable using Constructor of JTable.
Now in my code, again I want to change the total no. of rows of the same JTable without using constructor how can I do this.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should have a model behind the JTable and add to it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!