TrainBeaser for iPhone
The moose likes Swing / AWT / SWT / JFace and the fly likes JTable problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "JTable problem" Watch "JTable problem" New topic
Author

JTable problem

Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
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


SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Thomas Suer
Ranch Hand

Joined: Sep 03, 2001
Posts: 50
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
 
 
subject: JTable problem
 
Threads others viewed
JTable
JTable
JTable
JTable
JTable ........
developer file tools