Programmatically select a row in JTable April 7, 2023 by Tarik You can do it calling setRowSelectionInterval : table.setRowSelectionInterval(0, 0); to select the first row.