diff --git a/test/jdk/java/awt/List/ActionEventTest/ActionEventTest.java b/test/jdk/java/awt/List/ActionEventTest/ActionEventTest.java index bfebb5df272f6..19665a6dc291c 100644 --- a/test/jdk/java/awt/List/ActionEventTest/ActionEventTest.java +++ b/test/jdk/java/awt/List/ActionEventTest/ActionEventTest.java @@ -66,7 +66,7 @@ static void initAndShowGui() { frame = new Frame("ActionEventTest"); frame.add(list); - frame.setSize(400,400); + frame.setSize(400, 400); frame.setLayout(new FlowLayout()); frame.setLocationRelativeTo(null); frame.pack(); diff --git a/test/jdk/java/awt/List/KeyEventsTest/KeyEventsTest.java b/test/jdk/java/awt/List/KeyEventsTest/KeyEventsTest.java index 87085bc202c96..16fbccdafd16a 100644 --- a/test/jdk/java/awt/List/KeyEventsTest/KeyEventsTest.java +++ b/test/jdk/java/awt/List/KeyEventsTest/KeyEventsTest.java @@ -148,7 +148,7 @@ public void initAndShowGui() { p2.add(multiple); keyFrame.add("South", p2); - keyFrame.setSize (200,200); + keyFrame.setSize(200, 200); keyFrame.validate(); keyFrame.setUndecorated(true); keyFrame.setLocationRelativeTo(null);