Hi there,
I am using smart gwt 2.2 and firefox.
Just need to have a simple Scheduler to repeat a task for example every 30 seconds.
Tried to used gwt Scheduler class and it works. This is the code:
Would anyone know how to stop the scheduler?
Thank you.
I am using smart gwt 2.2 and firefox.
Just need to have a simple Scheduler to repeat a task for example every 30 seconds.
Tried to used gwt Scheduler class and it works. This is the code:
Code:
private final class LoadAlarmGrid implements RepeatingCommand{ public boolean execute() { updateAlarmsGrid(); return true; } } Scheduler.get().scheduleFixedPeriod(new LoadAlarmGrid(), 30000);
Thank you.
Comment