Skip to main content

Paint in steps on OS X

No replies
ftv
Offline
Joined: 2008-09-11

I have a small program which should paint several lines with a short delay in between. I'm calling the sleep method from paint and everything works fine on Linux and Windows. However, on Mac OS X the image to be drawn is first buffered before getting displayed. I could of course call the paint method for every single line but this erases the lines drawn before.
Which way is there to get this problem solved?