<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi David,</p>
<p>It seems to be a bug and its there from JDK9 when HiDPI feature
was introduced in 2015..We will look into it but cannot commit on
a timeframe for now..</p>
<div class="moz-cite-prefix">Regards</div>
<div class="moz-cite-prefix">Prasanta</div>
<div class="moz-cite-prefix">On 28-08-2025 04:11, David Alayachew
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAA9v-_P77qAAo68Tr=+D5HhrZzjHOPUxEf8FMp5TUvryKA3rCw@mail.gmail.com">
<div dir="ltr">
<div class="gmail_default" style="font-family:monospace">Hello <a class="gmail_plusreply" id="plusReplyChip-0" href="mailto:client-libs-dev@openjdk.org" tabindex="-1" moz-do-not-send="true">@client-libs-dev@openjdk.org</a>,</div>
<div class="gmail_default" style="font-family:monospace"><br>
</div>
<div class="gmail_default" style="font-family:monospace">Here is
my StackOverflow post -- <a href="https://stackoverflow.com/questions/79748482/how-do-i-get-rid-of-these-artifacts-on-my-jbutton-and-or-what-am-i-doing-wrong" moz-do-not-send="true" class="moz-txt-link-freetext">https://stackoverflow.com/questions/79748482/how-do-i-get-rid-of-these-artifacts-on-my-jbutton-and-or-what-am-i-doing-wrong</a></div>
<div class="gmail_default" style="font-family:monospace"><br>
</div>
<div class="gmail_default" style="font-family:monospace">I have
a simple Swing GUI that takes in an image, puts it in a JPanel
via JLabel, then adds a button to that same JPanel. When doing
so, I get artifacts at the bottom of my JButton. You can see
the StackOverflow post to see the code example and the
artifacts.</div>
<div class="gmail_default" style="font-family:monospace"><br>
</div>
<div class="gmail_default" style="font-family:monospace">I was
directed to the following bug entry -- <a href="https://bugs.openjdk.org/browse/JDK-8253530" moz-do-not-send="true" class="moz-txt-link-freetext">https://bugs.openjdk.org/browse/JDK-8253530</a></div>
<div class="gmail_default" style="font-family:monospace"><br>
</div>
<div class="gmail_default" style="font-family:monospace">Long
story short, the issue is with the default scaling set for HI
DPI monitors on Windows 11 (maybe other versions too?). If I
set the scaling down to 100%, this issue goes away, and things
work as expected.</div>
<div class="gmail_default" style="font-family:monospace"><br>
</div>
<div class="gmail_default" style="font-family:monospace">Anyways,
my question is, is the linked bug something that is being
considered? Based on the comments on it, looks like it is
being treated as not an issue, but it wasn't flagged as such.</div>
<div class="gmail_default" style="font-family:monospace"><br>
</div>
<div class="gmail_default" style="font-family:monospace">Thanks
for your time and consideration.</div>
<div class="gmail_default" style="font-family:monospace">David
Alayachew</div>
</div>
</blockquote>
</body>
</html>