cpu 100% despite of frequently sleep()'s

hi,

in my football game i’m working on i experience the following “phenomenon”:

the game is a webstart application, i use the gage timer and the target framerate is 50fps.
although there is a SystemTimer.sleep() statement in my main game loops to reduce the cpu load, it still forces the cpu to run at 100% while the game is running.
i tried and increased the sleep time (up to 500ms) but still there was no load reduction.

does anyone know why?

search the forums. This is a common question you’ll find answered many times.

ok, princec said in some thread that it just looks like 100% load but it doesn’t really is. strange …

thx anyway …