RFR: 8282958: Rendering issues of borders, TextFields on Windows High-DPI systems
Alexey Ivanov
aivanov at openjdk.org
Thu Oct 27 19:47:53 UTC 2022
On Wed, 12 Oct 2022 16:41:52 GMT, Rajat Mahajan <duke at openjdk.org> wrote:
> This fix is based on a similar approach as described here https://github.com/openjdk/jdk/pull/7449#issuecomment-1068218648.
> We rescale the line border to render the Textfield border correctly, so that all sides of the Textfield border are of same thickness.
Looks good to me.
test/jdk/javax/swing/border/LineBorder/ScaledLineBorderTest.java line 259:
> 257:
> 258: private static void showFrame(JComponent content) {
> 259: JFrame frame = new JFrame("Scaled Etched Border Test");
Suggestion:
JFrame frame = new JFrame("Scaled Line Border Test");
-------------
Marked as reviewed by aivanov (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10681
More information about the client-libs-dev
mailing list