RFR: 8289539: The color returned by CheckBox.interiorBackground is incorrect
Jayathirth D V
jdv at openjdk.org
Thu Dec 1 08:47:36 UTC 2022
On Tue, 27 Sep 2022 10:03:30 GMT, Tejesh R <tr at openjdk.org> wrote:
>>>
>>
>> There are multiple ImageCache/ImageBuffer pointers, Please point to github source code. I think we should find how this ImageCache knows why it should use "blue" colored bitmap and try to replicate the same for interiorBackgroundColor property. Since we don't have such property in other LAF's, we should avoid replicating same behaviour(of returning null) in Windows LAF.
>
>> >
>>
>> There are multiple ImageCache/ImageBuffer pointers, Please point to github source code. I think we should find how this ImageCache knows why it should use "blue" colored bitmap and try to replicate the same for interiorBackgroundColor property. Since we don't have such property in other LAF's, we should avoid replicating same behaviour(of returning null) in Windows LAF.
>
> https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/sun/swing/CachedPainter.java#L205
> Here in `Image image = cache.getImage(key, config, w, h, args);` the image is been returned.
@TejeshR13 I see that this is PR is withdrawn because it was inactive. Are you working on it or is it on hold?
-------------
PR: https://git.openjdk.org/jdk/pull/10385
More information about the client-libs-dev
mailing list