Bets way to setting an interval?
Hi
I was wondering what is the best way to set an interval in Java.
For example if you want to move objects or do some actions in a particular time. I want to create something that will give me the option to check stuff and do stuff like every x milliseconds. What is the best way to do this, guaranteeing that the if the program is slowed down the timing mechanism will work as planned (so needs to have priority) and that the whole process uses the least possible CPU power.
Thanks very much for any ideas!
ponggr

