Why not just a Timer object? You can put your game loop and rendering inside the actionListener for the Timer. It keeps a very constant rate of time, I've never had any issues with it. Do you know how to use one?
but doesnt that mean all my code will be in the event handlign thread, wont that cause control problems? Anyway ive switched to lwjgl now, but id ont know how to do it in that either.
What i would like to know is why some games (eg aliean flux) use this method and the advantagesw, disadvantages it gave them.