public void run() { itsApplication.Init(); while (!itsApplication.Done()) { itsApplication.Idle(); } itsApplication.CleanUp(); }