Original Post
Is it possible to execute a method every X - seconds ? I want to write a animation, a rotating cube. The cube should rotate every 0.2 seconds! It is not possible to use a while-loop, because the animation can be started/stopped by pressing a key.