8307079: Update test java/awt/Choice/DragOffNoSelect.java

Reviewed-by: azvegint, serb
This commit is contained in:
Phil Race 2023-04-28 18:17:24 +00:00
parent 9ff555083a
commit 89711f3767

View File

@ -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);