if (defaultURL.length() > 0){
urlInput.setText(defaultURL);
}
goButton = (PushButton)serializer.getNamespace().get("goButton");
goButton.getButtonPressListeners().add(new ButtonPressListener() {
@Override
public void buttonPressed(Button button) {
clearContent();
retrieveURLContentSync();
}
});
contentArea = (TextArea)serializer.getNamespace().get("textArea");
clearButton = (PushButton)serializer.getNamespace().get("clearButton");
clearButton.getButtonPressListeners().add(new ButtonPressListener() {
@Override
public void buttonPressed(Button button) {
clearContent();
}
});