On Wed, 8 Jun 2022 18:17:06 GMT, Alisen Chung <[email protected]> wrote:
>> Changed the drawing area to be increased by 0.5 on the left side to prevent
>> clipping
>
> Alisen Chung has updated the pull request incrementally with one additional
> commit since the last revision:
>
> made suggested changes
test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java line 177:
> 175: JPanel contentPanel;
> 176: contentPanel = new JPanel();
> 177: contentPanel.setLayout(new BoxLayout(contentPanel,
> BoxLayout.Y_AXIS));
JPanel contentPanel = new JPanel();
test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java line 182:
> 180: for (int i = 0; i < 4; i++) {
> 181: JPanel childPanel;
> 182: childPanel = new JPanel(new BorderLayout());
JPanel childPanel = new JPanel(new BorderLayout());
test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java line 189:
> 187:
> 188: contentPanel.add(childPanel);
> 189: if(childSize == null) {
Is it your IDE settings ? You've added another case of "if(" ..
test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java line 218:
> 216: if (show) {
> 217: JFrame frame;
> 218: frame = new JFrame("Swing Test");
JFrame frame = new JFrame("Swing Test");
-------------
PR: https://git.openjdk.java.net/jdk/pull/7449