I searched but there are no similar questions.
I have a function with 2 parameters: row_num, value Before adding a new value, I need to check to see if that row exists in the JTable or not. If it is not, I will add a null row before adding value.
The problem is I don't know how to check if it exists. I tried table.isCellEditable(row_num, 2)
but I'm not sure why it always returns True
though the table doesn't contain that row.