• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to - multple row selection with JTable  RSS feed

 
yogesh kalaskar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all

To enable multiple row selection in JTable i am using following code
but it doent work and i am able to select single row only

table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
table.setRowSelectionAllowed(true);
table.setColumnSelectionAllowed(false);

any suggestions ???

thanks in advance!!
 
Andrei Pat
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's ok
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!