Create AnimatedImage.java