<AWT Dev> Patch for JTreg test java/awt/Mixing/LWPopupMenu.java
Pavel Tisnovsky
ptisnovs at redhat.com
Thu Oct 1 08:09:32 PDT 2009
Hi,
can you please review patch for JTreg test
java/awt/Mixing/LWPopupMenu.java
(http://cr.openjdk.java.net/~ptisnovs/LWPopupMenu/)?
This test opens two frames - test dialog (used for printing messages and
so on) [Window1] and the frame with menu and button [Window2]. Sometimes
(probability is about 10% on my machine) the [Window2] is displayed
UNDER [Window1], not on the top. This causes test failure, because
[Window2] does not receive events when it is covered by another window.
Calling frame.toFront() after waiting for robot seems to solve this issue.
Thanks in advance,
Pavel Tisnovsky
More information about the awt-dev
mailing list