list = new ArrayList<CheckupDICOMLocal>();
} else {
list = checkup.getChildren();
}
for (int i = 0; i < list.size(); i++) {
CheckupDICOMLocal cdl = list.get(i);
boolean founded = false;
for (int j = 0; j < modelCDL.getSize(); j++) {
CheckupDICOMLocal cdl1 = (CheckupDICOMLocal) modelCDL.getElementAt(j);
if (cdl1 == cdl) {
founded = true;
}
}
if (!founded) {
modelCDL.addElement(cdl);
}
}
for (int i = modelCDL.getSize() - 1; i >= 0; i--) {
CheckupDICOMLocal cdl1 = (CheckupDICOMLocal) modelCDL.get(i);
boolean founded = false;
for (int j = 0; j < list.size(); j++) {
CheckupDICOMLocal cdl = list.get(j);
if (cdl == cdl1) {
founded = true;
}
}
if (!founded) {