How can I determine which column was selected in a JTable. Please, if you could give me an example without using an inner class that would be great. I've tried using addMouseListener(this); and then just overwriting mouseClicked but I don't know how to get a value back for the column.