Java/Swing programming question

Miscellaneous Forums/General Discussion/Java/Swing programming question

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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