SyntaxFix
Write A Post
Hire A Developer
Questions
You can do it calling setRowSelectionInterval :
table.setRowSelectionInterval(0, 0);
to select the first row.