• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change Jtable Total Rows in runtime ?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reading my post
How i can change number of rows in a JTable at runtime ?
for example if it has 4 rows in when i made the table and i
want it to has 20 rows in some case
what property of Jtable give the bility to me ?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here's a basic way

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you very much.
it helped too much , and now i havemy table , without out of bound exception.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic