Try this instead:
public static native void repeatTime() /*-{
bla = @com.google.gwt.client.myreminders::testtry()();

 t=setTimeout(bla,500);
 }-*/;

 public static void testtry(){
         int i = Random.nextInt();
         login_name.setText(""+i);
 }


2008/12/7 prat <[EMAIL PROTECTED]>

>
>  public static native void repeatTime() /*-{
>  t=setTimeout("@com.google.gwt.client.myreminders::testtry()()",500);
>  }-*/;
>
>  public static void testtry(){
>          int i = Random.nextInt();
>          login_name.setText(""+i);
>  }
>
> login_name is TextBox where i want to dispaly random numbers at every
> 0.5 sec.
> But the above code isnt working.. Can any one find out the mistake.
> Thanks alot
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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