Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable selection problem

 
Thomas Suer
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem regarding the selection of table rows. Let's say there is a table displaying 10 rows. For instance the 2nd and 3rd row are selected. When I then change the sorting order of the displayed elements (e.g. after the user clicks on a table header) the selected rows stay the same, that means the 2nd and 3rd row are still selected instead of the previous selected elements.
Does anyone has an idea to solve this problem?
Thanks in advance
Tom
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic