// On Mac, if we initialize the window in the UI thread, it gets wrong insets, paints incorrectly, etc.
// The "fix" is to initialize in the SWT thread.
class MacWindowInitMessage extends CommandMessage implements NoSerializationTestMessage {
@Override
public Object run(Object[] args) throws Exception {
windowAncestor.addNotify();
return null;
}
};
new MacWindowInitMessage().syncSend(true);
} else {