Hello I'm confused, and i'm going to be mad :S

I have this code...

public class CrearReglaTienda implements EntryPoint{
...
...

public void onModuleLoad() {
....
....
TextBox codTienda = TextBox.wrap(RootPanel.get(ID.codTienda.toString
()).getElement());
codTienda.addKeyboardListener(new CodTiendaKeypressListener());

}

private static class CodTiendaKeypressListener implements
KeyboardListener{
public void onKeyDown(Widget sender, char keyCode, int modifiers) {
    System.out.println("keydown");
}
public void onKeyPress(Widget sender, char keyCode, int modifiers) {
    System.out.println("keypress");
}

public void onKeyUp(Widget sender, char keyCode, int modifiers) {
    System.out.println("keyUp");
}
...
...
}

When i test on IE it's ok but when test in Firefox i can't see the
System.out.

Some one help me? what is it wrong?

THK

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

Reply via email to