<Swing Dev> [9] Review request for 8027639: JComboBox's popup leaves tracks after closing
Semyon Sadetsky
semyon.sadetsky at oracle.com
Thu Oct 27 07:34:24 UTC 2016
On 10/25/2016 2:42 PM, Alexandr Scherbatiy wrote:
> On 10/10/2016 12:55 PM, Semyon Sadetsky wrote:
>> Hello,
>>
>> Please review fix for JDK9:
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8027639
>>
>> webrev: http://cr.openjdk.java.net/~ssadetsky/8027639/webrev.00/
>>
>> When the Swing repaint manager paints Swing to a separate off-screen
>> buffer the root window is not painted. So in case of non-opaque root
>> window having transparent background the repainted buffer area
>> transparency is not restored and previously visible Swing components
>> can remain visible.
>>
>> The solution is to paint the root window's background to the
>> repainted area in case the root window is non-opaque.
> Should the previous composite be restored after the rect filling?
SRC should be the default composite type.
>
> Thanks,
> Alexandr.
>>
>> --Semyon
>>
>
More information about the swing-dev
mailing list