On Wed, 12 Oct 2022 16:41:52 GMT, Rajat Mahajan <[email protected]> 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
