8292738: JInternalFrame backgroundShadowBorder & foregroundShadowBorder line is longer in Mac Look and Feel

Reviewed-by: serb, aivanov
This commit is contained in:
lawrence.andrews 2022-09-12 15:50:25 +00:00 committed by Alexey Ivanov
parent 9ef6c0925a
commit cea409cc28

View File

@ -752,7 +752,7 @@ public class AquaInternalFrameUI extends BasicInternalFrameUI implements SwingCo
@Override @Override
public void paint(final Graphics g, int x, int y, int w, int h) { public void paint(final Graphics g, int x, int y, int w, int h) {
g.setColor(new Color(0, 0, 0, 64)); g.setColor(new Color(0, 0, 0, 64));
g.drawLine(x + 2, y - 8, x + w - 2, y - 8); g.drawLine(x + 5, y - 8, x + w - 5, y - 8);
} }
}, },
0, 7, 1.1f, 1.0f, 24, 51, 51, 25, 25, 25, 25); 0, 7, 1.1f, 1.0f, 24, 51, 51, 25, 25, 25, 25);
@ -771,7 +771,7 @@ public class AquaInternalFrameUI extends BasicInternalFrameUI implements SwingCo
@Override @Override
public void paint(final Graphics g, int x, int y, int w, int h) { public void paint(final Graphics g, int x, int y, int w, int h) {
g.setColor(new Color(0, 0, 0, 32)); g.setColor(new Color(0, 0, 0, 32));
g.drawLine(x, y - 11, x + w - 1, y - 11); g.drawLine(x + 10, y - 11, x + w - 10, y - 11);
} }
}, },
0, 0, 3.0f, 1.0f, 10, 51, 51, 25, 25, 25, 25); 0, 0, 3.0f, 1.0f, 10, 51, 51, 25, 25, 25, 25);