On Wed, 22 Jan 2025 03:29:55 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> JProgressBar (StringPainted variant) does not render consistently on HiDPI > displays (e.g. 200% Scale Factor) on Windows (using Windows Look-and-Feel) > depending on the height at which JProgressBar is rendered, in which case the > gap between progressbar and skin is different for different height as can be > seen below > >  > > Native windows progressbar renders without leaving any gap as can be seen here > >  > > so the padding is removed to render the progressbar similar to windows native > and it is rendered properly > >  This pull request has now been integrated. Changeset: 51cce6e6 Author: Prasanta Sadhukhan <psadhuk...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/51cce6e612e1e3b4647ad2c0c8bffc0f3adccb63 Stats: 116 lines in 2 files changed: 106 ins; 3 del; 7 mod 8318577: Windows Look-and-Feel JProgressBarUI does not render correctly on 2x UI scale Reviewed-by: tr ------------- PR: https://git.openjdk.org/jdk/pull/23227