RFR: JDK-8294427 - Check boxes and radio buttons have rendering issues on Windows in High DPI env

Rajat Mahajan rmahajan at openjdk.org
Mon May 8 18:33:22 UTC 2023


On Mon, 8 May 2023 18:26:37 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>>> Why does everything else use defaultDPI, is it possible that some values depend on the DPI?
>> 
>> Because Swing's user space coordinates use the default 96dpi. Some values do depend on the DPI, yet layout code still uses the default DPI.
>
> Then that layout code will be broken if layout will be calculated on already visible component, I guess it should take into account the GC where the component is located.

What is GC ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13701#discussion_r1187757249



More information about the client-libs-dev mailing list