There's no way to detect this with 100% certainty. On any platform.
Toolkit.sync() is harmless and probably worth calling after your final
Window.setVisible(true) call. However, this method doesn't do much.
There's several workarounds though. You may want to Thread.sleep() for
Hello
I'm looking for a way to make sure window updates have made it on screen.
Does this do anything in the Mac implementation?
Toolkit.getDefaultToolkit().sync();
If not is there some way (in java or jni code) to make sure any window
paints have happened on screen and aren't still queued?