Try calling the paint() method manually instead.
repaint() is only really used when performing animation, you may need to update the whole screen, since something has been in front of the app, or the dimensions have been changed!
Tell me if this works
[EDIT} - if not, I'll have another think... I've never used Java for yonks, but I remember that you can never be to sure that calling repaint() will result in the app being repainted. Something do do with it can't process them as quickly as they are being called, or another thread/task takes up most of it's time?
Try slowing down the program with the sleep() method, other than that.. visit http://forum.java.sun.com/index.jspa
- Dabz
repaint() is only really used when performing animation, you may need to update the whole screen, since something has been in front of the app, or the dimensions have been changed!
Tell me if this works
[EDIT} - if not, I'll have another think... I've never used Java for yonks, but I remember that you can never be to sure that calling repaint() will result in the app being repainted. Something do do with it can't process them as quickly as they are being called, or another thread/task takes up most of it's time?
Try slowing down the program with the sleep() method, other than that.. visit http://forum.java.sun.com/index.jspa
- Dabz