From 36392199baf3b706da40de228073ae0fff086f11 Mon Sep 17 00:00:00 2001 From: Alexander Zuev Date: Tue, 8 Oct 2024 15:20:13 -0700 Subject: [PATCH] Add missing window titles. --- .../Choice/ChoiceDragEventsInside/ChoiceDragEventsInside.java | 1 + .../java/awt/Choice/ChoiceMouseEvent/ChoiceMouseEventTest.java | 1 + 2 files changed, 2 insertions(+) diff --git a/test/jdk/java/awt/Choice/ChoiceDragEventsInside/ChoiceDragEventsInside.java b/test/jdk/java/awt/Choice/ChoiceDragEventsInside/ChoiceDragEventsInside.java index ba6c382153076..dde773f19289c 100644 --- a/test/jdk/java/awt/Choice/ChoiceDragEventsInside/ChoiceDragEventsInside.java +++ b/test/jdk/java/awt/Choice/ChoiceDragEventsInside/ChoiceDragEventsInside.java @@ -52,6 +52,7 @@ public class ChoiceDragEventsInside extends Frame { volatile boolean mouseDraggedOutside = false; public void setupUI() { + setTitle("Choce Drag Events Inside"); choice1 = new Choice(); for (int i = 1; i < 50; i++) { choice1.add("item-0" + i); diff --git a/test/jdk/java/awt/Choice/ChoiceMouseEvent/ChoiceMouseEventTest.java b/test/jdk/java/awt/Choice/ChoiceMouseEvent/ChoiceMouseEventTest.java index 9738b955c3f6a..9603d5c763de4 100644 --- a/test/jdk/java/awt/Choice/ChoiceMouseEvent/ChoiceMouseEventTest.java +++ b/test/jdk/java/awt/Choice/ChoiceMouseEvent/ChoiceMouseEventTest.java @@ -52,6 +52,7 @@ public class ChoiceMouseEventTest extends Frame { static Dimension size; public void setupGUI() { + setTitle("Choice Mouse Event Test"); this.setLayout(new BorderLayout()); choice.add("item-1"); choice.add("item-2");