Paul Clapham wrote:JTable has a getSelectionModel() method which will give you a ListSelectionModel object. It tells you what rows are selected. You can add a ListSelectionListener to that via the addL..S..L..() method and override the methods which tell you when the row selection is changing, just like any other listener.
Rob Camick wrote:Read the section from the Swing tutorial on How to Write a ListSelectionListener for working examples.
Roger Wells wrote:incompatible types: ListSelectionModel cannot be converted to listSelectionModel
So here is where I am starting one line of code at a time.
I found another tutorial that helped me understand.
I would like for it to select all of the rows in that column
Roger Wells wrote:When I click on a column I would like for it to select all of the rows in that column so that I can pull data from all of the rows.