repaint() method…

Jun 13, 2007 at 11:16am

repaint() method…

Hi all,

I just wanted to know if some of you encountered problems with the repaint() method.

Actually, I modify some values in my Java interface, and I draw some shapes on the screen. The elements should be moving, their coordinates do change (I echo their value in the console)!

The repaint() method is also called, but nothing moves. What’s strange is that I did something like that but in a basic Java application, implemented the same way, and it worked.

So, why my values change, my repaint() method is called, but my display remains the same?!

Thanks for your help…

Justin

#32443
Jun 13, 2007 at 1:55pm

Everything’s alright! I was a bit desperate this morning, but I finally found the solution!

#106727

You must be logged in to reply to this topic.