On Mon, 16 Aug 2021 23:39:05 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:

>> What about the color property?
>
>> What about the color property?
> 
> That would be unnecessary, whoever does painting does not just assumes that 
> the color is set to his preferred choice, everywhere in the code color is set 
> up before doing any painting and i do not see anywhere that old color being 
> preserved.

You can trace the usage of graphics.getColor() for example in 
AquaMenuItemUI/WindowsMenuUI/BevelBorder/etc to check that the old color 
property is usually saved and then restored.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5082

Reply via email to