Event event = new Event();
event.widget = this;
String[] values = getValues();
event.data = values;
event.text = values[0] + " " + values[1];
ModifyEvent modifyEvent = new ModifyEvent(event);
Object interested[] = listeners.getListeners();
for (int i = 0; i < interested.length; i++)
if (interested[i] != null) {
((ModifyListener) interested[i]).modifyText(modifyEvent);
}