• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable problem  RSS feed

 
Gaurav Chikara
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have retrived a set of values which are appearing in a JTable as a set of rows and as sson as i have retrived the values i am using the function selectAll() on the JTable but it is only selecting the lowest and the last row of the JTable
Can anyone suggest me where I could be wrong
Thankx in advance
 
Thomas Suer
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure that you have set the selection mode of the table's ListSelectionModel to 'MULTIPLE_INTERVAL_SELECTION':

I haven't tested it, but it should work...
Good luck
Tom
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!