Does anyone know how could I get the index value of an UNselected row after it has been wrongly selected from a JTable?? I need this mechanism to clear off any wrong selection from an array of indices of records before deleting them from a database.

Thanx in advance.