I am making an animation in Java,
I'd like the jerkings to go away to make the animation more real
But it seems like setting the thread alone can not help at all. Pleaseeee
Thanks for your help.
Printable View
I am making an animation in Java,
I'd like the jerkings to go away to make the animation more real
But it seems like setting the thread alone can not help at all. Pleaseeee
Thanks for your help.
Thread with repaint().
Without seeing your code or a specific question, its hard to recommend.
If by "Setting the thread" you mean changing the thread priority then you may or may not see any difference. Thread priorities guarantee very little and the effects vary from platform to platform.
Smooth animation is best achieved by drawing to an offscreen buffer, I suggest you google for some tutorials such as this one.