Hey,
I'm running GWT on ubuntu and trying to learn by following the tutorial guide found on Google . I have some problem with making a textfield register when user hit the enter button. It works with specificing arbitrary character, so I don't think it is any problem with the code. So it probably is that KeyCodes.KEY_ENTER isn't supported in linux? What else can I write instead to make it read when user hit enter?
newSymbolTextBox.addKeyPressHandler(new KeyPressHandler() {
public void onKeyPress(KeyPressEvent event) {
if (event.getCharCode() == KeyCodes.KEY_ENTER) {
addStock();
System.out.println("Foo");
}
}
});