You can also set the selection mode of the table to single row selection...like this:
JTable table = new JTable(<add model, etc>
;
table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
When you click on a row after doing this, the entire row is selected, with no distinction between the row and the cell you selected.
-Jeff