need help with animating
I'm trying to write this applet and I'm having trouble trying to get things moving in there. in the attached file, i have the source code for a flower applet. I was wondering if anyone can get the petals around the flower moving around the centre smilie face. if any knows how to do it, please send the changed file back to my email at email@example.com. thanx
i'm not going to do your homework for you, but i may i suggest that it would probably be worth while looking up threads, since you'll need these to get things moving.
apart from that you'll also have to use variables when you draw the flower otherwise you have no way of changing the way it will be drawn. i'd even suggest that you made a seperate flower class.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL