My code looks like:
                suggestBox.addKeyboardListener(new KeyboardListenerAdapter() {
                        public void onKeyDown(Widget sender, char keyCode, int 
modifiers) {
                                if(keyCode == KEY_ENTER);
                                {
                                        
System.out.println(suggestBox.getText());
                                }
                        }
The problem is, whenever I hit ANY key the console will print anything
in the suggestbox.
What's up with this, I'm pretty sure everything is in order.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to