@Override
public void onKeyPress(Widget sender, char keyCode, int modifiers) {
if (keyCode == KEY_ENTER) {
theMap.setLocation(((TextBox) sender).getText());
} else if (keyCode == KEY_ESCAPE) {
dialog.removeFromParent();
}
}
});
findButton.addClickListener(new ClickListener() {
public void onClick(Widget sender) {