<Swing Dev> RFR JDK-8239312 [macos] javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Mar 24 04:47:06 UTC 2020


On 3/23/20 9:36 pm, Prasanta Sadhukhan wrote:
> I did not get this point. "apple.awt.brushMetalLook" and "window.style" both set TEXTURED property of NSWindow so it's gradient should be the same, no?
> 
> So, at what time do you think they will not be same?

It seems every time the window becomes visible the background gradient
draws slightly differently(it is drawn by the macOS, not java). It fails
even if the "apple.awt.brushMetalLook" used twice.

-- 
Best regards, Sergey.


More information about the swing-dev mailing list