Animated Sprites with Java Swing
问题 Can someone tell me how can I slowdown the sprites appearance to create a more smooth animation? When I run the code it appears the last (27th) sprite in the JPanel. The animation processing is too fast! Someone told me about Swing Timer, but unfortunately I tried several times with that and I couldn't put the code to run well :( Here is the code that I have so far: package sprites; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import java.awt.image.BufferedImage;