this.constants = constants;
txtResult.setText(constants.noInputResult());
txtResult.setReadOnly(true);
txtInput.addKeyboardListener(new KeyboardListenerAdapter() {
public void onKeyUp(Widget sender, char keyCode, int modifiers) {
maybeRefreshLookup(constants);
}
});
txtInput.setText(DEFAULT_INPUT);
maybeRefreshLookup(constants);