I would like to ask about the best solution.
I have two JTable, the first record of the arrival of my students (who lists me in what came to school), the second I have listed all the students who are in the class (the class teacher selects and lists him in the first table, and who when he came in the other lists who is absent) tz. I thought to compare these two tables ->
If a record exists from the bottom and top of the table (same name, surname, etc.) and delete it (since it arrived and I miss).
I wonder how to do it ... Do you need to compare all rows ...
thank you in advance for your advice.
Do you mean database table instead of Swing's JTable? Do you need to build a SQL query to accomplish your task?