<AWT Dev> RFR: 8273355: Lanai: Flickering on tooltip appearance IntelliJ IDEA 2021.2.1
    Sergey Bylokhov 
    serb at openjdk.java.net
       
    Sat Sep  4 21:38:55 UTC 2021
    
    
  
On Sat, 4 Sep 2021 19:54:55 GMT, Alexey Ushakov <avu at 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
    
    
More information about the awt-dev
mailing list