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…
Everything’s alright! I was a bit desperate this morning, but I finally found the solution!
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74