Показать сообщение отдельно
Старый 27.10.2006, 10:31   #3
Piligrim
Оптимист
 
Регистрация: 07.01.2006
Сообщений: 961
Написано 105 полезных сообщений
(для 259 пользователей)
Re: проблема с TimerTask

Terminates this timer, discarding any currently scheduled tasks. Does not interfere with a currently executing task (if it exists). Once a timer has been terminated, its execution thread terminates gracefully, and no more tasks may be scheduled on it.

Надо
Main.T = new Timer();
Main.T.schedule(new LoopProgram(), 0, 25 );
(Offline)
 
Ответить с цитированием