suggestBox.addKeyUpHandler( new KeyUpHandler() { public void onKeyUp(KeyUpEvent event) { if (event.getNativeKeyCode() == KeyCodes.KEY_ENTER) { String bo
so that it can't change out from under the anonymous inner class KeyUpHandler implementation.