// Add an accessible listener
addAccessibleListener(cellIterations, controlDetails);
// Add a modify listener to this control (for the text value).
cellIterations.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
Object oldValue = null;
Object newValue = cellIterations.getIterations();
PropertyChangeEvent propertyChange = new PropertyChangeEvent(
cellIterations, controlDetails.attribute, oldValue, newValue);