And you use it :
refresher.scheduleRepeating(10000);// every 10 seconds

On Mon, Feb 8, 2010 at 4:15 PM, mariyan nenchev
<[email protected]>wrote:

> The simplest way is to use polling with gwt timer:
> Timer refresher = new Timer() {
>
>     public void run() {
>          reloadData(); // this must call your rpc that gets the data from
> db
>      }
> };
>
>
> On Sun, Feb 7, 2010 at 2:07 AM, Anmol kapoor <[email protected]>wrote:
>
>> i m working on a virtual stock exchange simple game with gwt... i want
>> to design a panel showing all the stocks.... the panel should refresh
>> its content automatically from the database. Please provide your kind
>> guidance or any tutorial i should refer.
>>
>> thanks in advance.
>>
>> Anmol Kapoor
>>
>> --
>> 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]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>

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