Problem with paint (Graphics g )
I am a student doing my final year project and I am having a problem with
the animation that I have. I have used paint (Graphics g) to create the animation
that I wish to be displayed and when i try to form a loop so when I press
a play button the animation will run, It does not repaint the graphics at
each step, it will only repaint the last value. I have put in print statements
in all the methods and they are working correctly. I am using repaint() to
call the paint(Graphics g). It also works fine when i press the button for
each step. I just can get the play to work. can anyone help me ???????? please.
Is there a way that I can force the repaint() to call the paint (graphics
g) every time in the loop???
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