The short answer is: yes, you absolutely can draw and animate in Java.

If you don't know anything about Java, you're going to want to go through the basic tutorials: The Java™ Tutorials

Work...