Session expiration Your session is going to expireClick here to extend

Budget (€) :

Small project <800

Posted on

5/25/11 1:11 AM

This project is completed

Someone on twago has already accepted this project. Find a project of your own, sign up today!

Post similar project now




For your first animation program, you’ll write an applet that

implements the Runnable interface that will simulate a yo-yo

going up and down on a string. To reduce flicker, repaint

only the string and yo-yo in the background color.

Then, modify the program so that you have two yo-yos of

different colors and speeds. Finally, create an HTML file that

will put a stick figure “holding” the yo-yos between the two

yo-yo applets. It’s not necessary to animate the stick figure.

Title the Web page “Yo-Yos for Sale!!!!” Figure 1 shows a

screen capture of the finished project.