Skip to content

Commit cea409c

Browse files
lawrence-andrewaivanov-jdk
authored andcommitted
8292738: JInternalFrame backgroundShadowBorder & foregroundShadowBorder line is longer in Mac Look and Feel
Reviewed-by: serb, aivanov
1 parent 9ef6c09 commit cea409c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.desktop/macosx/classes/com/apple/laf/AquaInternalFrameUI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ public void paint(final Graphics g, final int x, final int y, final int w, final
752752
@Override
753753
public void paint(final Graphics g, int x, int y, int w, int h) {
754754
g.setColor(new Color(0, 0, 0, 64));
755-
g.drawLine(x + 2, y - 8, x + w - 2, y - 8);
755+
g.drawLine(x + 5, y - 8, x + w - 5, y - 8);
756756
}
757757
},
758758
0, 7, 1.1f, 1.0f, 24, 51, 51, 25, 25, 25, 25);
@@ -771,7 +771,7 @@ public void paint(final Graphics g, final int x, final int y, final int w, final
771771
@Override
772772
public void paint(final Graphics g, int x, int y, int w, int h) {
773773
g.setColor(new Color(0, 0, 0, 32));
774-
g.drawLine(x, y - 11, x + w - 1, y - 11);
774+
g.drawLine(x + 10, y - 11, x + w - 10, y - 11);
775775
}
776776
},
777777
0, 0, 3.0f, 1.0f, 10, 51, 51, 25, 25, 25, 25);

0 commit comments

Comments
 (0)