I have a table that I am populating from a database. I have set it up DefaultTableModel(vector, vector)
I would like to be able to allow the user to select multiple rows and then detect the values of the selection. Ex
01 A A A
02 B B B
03 C C C
if the user has selected 01 and 02 I would like to see the values A A A and B B B. Or if the user just selects 03 see the values C C C. Or if the user selects all three rows see all the values.
I have been playing around with the List Selection Listener, but haven't been able to have much luck.