void (int index1, int index2) { Collections.swap(myExceptionInfos, index1, index2); Collections.swap(myTypeCodeFragments, index1, index2); if (index1 < index2) { fireTableRowsUpdated(index1, index2); } else { fireTableRowsUpdated(index2, index1); } }