The Oracle tutorials are always a great place to start. Start by using your favorite search engine to search something like: java timer tutorial. In many cases, one of the first results will include "oracle" in the address, and might be titled "
How to Use Swing Timers."
There are many, many, many examples of how to do simple animation and control in Java Applets. Again, using your favorite search engine properly fed will yield many results.
Good luck and come back when you need help with specific elements of your project.