Rendering to offscreen images (ie; double buffering) is severly damaged in OSX/Catalina,
at least as used by Java. If you do double buffering by drawing to offscreen images,
your applications will be retroactively broken. I’m not aware of any workaround
except to abandon double buffering.
This is the kind of garbage you’ll see: