This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable selection problem