On Fri, 7 Aug 2026 21:39:05 GMT, Phil Race <[email protected]> wrote: >> Prasanta Sadhukhan has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Vertical progressbar print >> - Vertical progressbar print > > src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/WindowsProgressBarUI.java > line 191: > >> 189: barRectHeight / 2 + 1); >> 190: } else { >> 191: g.drawRect(0, 0, barRectWidth, >> barRectHeight);, > > This is presumably to fix some RTL rendering but this changes the positioning > for LTR too. And surely it then differs in positioning from what was drawn > on-screen when G2D is used ??
I have tested Graphics2D and non-Graphics2D case for both horizontal and vertical case in WIndows L&F ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31749#discussion_r3810963957
