On Sat, 4 Sep 2021 19:54:55 GMT, Alexey Ushakov <a...@openjdk.org> wrote:
> Used setOpaque() method to set correct background of platform window Calling "platformWindow.setOpaque(!isTranslucent());" is equvivalent of calling these three methods: setOpaque(getTarget().isOpaque()); applyShape(Region.getInstance(shape, null)); peer.setTextured(IS(TEXTURED, styleBits)); All of them are executed before "platformWindow.setVisible(visible);" why do we need one more call to trigger updateOpaque? ------------- PR: https://git.openjdk.java.net/jdk/pull/5373