Forums > Java

repaint() method…

Jun 13 2007 | 11:16 am

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…


Jun 13 2007 | 1:55 pm

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

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Java