On Mon, 8 May 2023 18:26:37 GMT, Sergey Bylokhov <s...@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