Introduction - If you have any usage issues, please Google them yourself
Basic techniques:
In Java, there are many ways to achieve animation, but they realize the basic principle is the same, that is
Draw a series of frames on the screen, causing a feeling of movement.
Let us construct a program framework, and then gradually expanded so that more complete functionality.