<AWT Dev> [11] Review Request: 8201364 [macosx] Component.getLocation() gives inconsistent coordinate for a component at (0, 0)

Dmitry Markov dmitry.markov at oracle.com
Thu May 17 19:17:27 UTC 2018



> On 17 May 2018, at 20:04, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> 
> On 17/05/2018 11:35, Dmitry Markov wrote:
>> So if I got you right, it is not necessary to call these methods if the target has been resized. In other words we should NOT change the if-statement
>> FROM:
>> if (pResized || isNewDevice)
>> TO:
>> if (pResized || *tResized *|| isNewDevice)
>> Is my understanding correct?
> 
> Yes, correct.

Thanks for explanation and confirmation. The fix looks good to me.

Thanks,
Dmitry
> 
> 
> -- 
> Best regards, Sergey.



More information about the awt-dev mailing list