__Well, if it isn't I (unfortunately) can't help. I'm geared toward OpenGL (and don't know much about it, either.) I took my Java class in the Business Department at college so someone, please, correct me if I'm wrong.
__Animation is usually done via multithreading in Java. (Java automatically handles multithreading.) Basically one thread is used to repaint the screen while the other monitors the clock and triggers the first thread (indirectly, I believe) when it is time to repaint. I never had a chance to get it working right (too many other assignments.)
__As for the error(s), it could just be you forgot to handle ("catch") exceptions that are normally thrown by DirectX. Exceptions happen a LOT in Java, especially with input.
[This message has been edited by SonicSilcion (edited December 29, 1999).]