XML Feeds

.

[java-dev] repaint() method...

Justin hammered_slayer at hotmail.com
Wed Jun 13 05:16:27 MDT 2007


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


More information about the java-dev mailing list