How Do I Animate My Java Swing Graphics2d Component Stack Overflow

How Do I Animate My Java Swing Graphics2d Component Stack Overflow