Author: Zafir Anjum
Selecting a cell is the combination of selecting a row and a column. You have to select the row in which the cell belongs, as well as the column in which the cell belongs.
table.getSelectionModel().setSelectionInterval( row, row );
table.getColumnModel().getSelectionModel().setSelectionInterval( column, column );
Note that the selection model for column selection is accessible only through the column model.
Posted On: 9-Jan-1999