private Frame frame = null;
private Button okButton = null;
public PersonEditor(MapDataModel source) throws GUIException {
/* Create a copy of the table row */
MapDataModel model = (MapDataModel) source.clone();
model.setValue("source", source);
frame = constructFrame("PersonEditor", model);
model.addModelChangeListener(this);
/* Add date field validators */
StrictTextFieldValidator validator = new StrictTextFieldValidator();
frame.getWidget("FirstNameField").addValidator(validator);
frame.getWidget("LastNameField").addValidator(validator);