my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes JTable selection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable selection problem" Watch "JTable selection problem" New topic
Author

JTable selection problem

Thomas Suer
Ranch Hand

Joined: Sep 03, 2001
Posts: 50
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable selection problem
 
Similar Threads
doubt in html
Javascript with Radio Button
JTable selection problem
JTable selection problem
Problem with a JTable