}
});
int roiIndex = XIA_DEVICE.equals(deviceTypeName) ? i + 1 : roiSize[i];
labelTextFields[i] = new LabelFieldEditor();
roiNameListeners[i] = new RoiNameListener(i);
labelTextFields[i].setDefaultValue("Roi " + roiIndex);
labelTextFields[i].setCometeBackground(CometeColor.WHITE);
((JTextField) labelTextFields[i]).getDocument().addDocumentListener(new DocumentListener() {