This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
We'll post the images referred in the book shortly on the website. Meanwhile, you should be able to use any PNG file (30px wide by 60px long). Make sure that it is in the location referred in the code (under the "res" folder).
Jane Joseph wrote:
I created 4 pictures of 30 X 60 dimension and pasted them together using Paint. Was able to successfully run the program now, so that the four pictures were being displayed one after the other.
Executed the program with the original image that you sent. Was very happy to see the dancing man finally! Thank you very much.
(Only a slight change with regards to the image dimensions were required viz. sprite = new Sprite(manImage, 21, 43);)