<AWT Dev> RFR: 8232744 j.awt.Window::setShape(Shape) paints visible artifacts outside of the given shape
Sergey.Bylokhov at oracle.com
Thu Apr 9 02:53:45 UTC 2020
On 4/8/20 5:36 pm, Philip Race wrote:
>> I have never seen "AWT-defined window" term, I assume we never used it before is it
>> clear enough? Usually, we use "Top level window" which will cover AWT and Swing.
> But the point here is the intent for this shape to visually defines the window,
> but the desktop did something else.
> So the intent is to distinguish what the Java application requested vs what happened.
> I think it is clear enough.
> Also Swing does not create Windows. Does it have native code to create its own ?
> No, it just asks AWT to. So don't worry about that.
The native code is not related to this, we just do not specify what is
"AWT-defined window" means and why for example the JDialog/JFileChooser/etc are
Best regards, Sergey.
More information about the awt-dev