class BeforeAfterTableModel extends AbstractTableModel {

    public void addRows(List<BeforeAfterRow> newRows)
    {
        myRows.addAll(newRows);

        if (!myRows.isEmpty())
        {
            fireTableRowsInserted(0, myRows.size() - 1);
        }
    }

}