From 89711f376751d4cfa05758705867afedfafeb602 Mon Sep 17 00:00:00 2001 From: Phil Race Date: Fri, 28 Apr 2023 18:17:24 +0000 Subject: [PATCH] 8307079: Update test java/awt/Choice/DragOffNoSelect.java Reviewed-by: azvegint, serb --- test/jdk/java/awt/Choice/DragOffNoSelectTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jdk/java/awt/Choice/DragOffNoSelectTest.java b/test/jdk/java/awt/Choice/DragOffNoSelectTest.java index 587fc701e93..a3b808dbcf8 100644 --- a/test/jdk/java/awt/Choice/DragOffNoSelectTest.java +++ b/test/jdk/java/awt/Choice/DragOffNoSelectTest.java @@ -71,7 +71,7 @@ public class DragOffNoSelectTest implements WindowListener, Runnable { } frame.add(theChoice); frame.addWindowListener(testInstance); - frame.setSize(400, 400); + frame.pack(); frame.setLocationRelativeTo(null); frame.setVisible(true);