8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10
Reviewed-by: prr, serb
This commit is contained in:
parent
4651ce7fc9
commit
abe29730ed
@ -66,7 +66,7 @@ public class ShowFrameCheckForegroundTest {
|
||||
public void start() {
|
||||
showButton.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
testToplevel.setVisible(true);
|
||||
Util.showWindowWait(testToplevel);
|
||||
}
|
||||
});
|
||||
nofocusFrame.add(showButton);
|
||||
@ -98,10 +98,12 @@ public class ShowFrameCheckForegroundTest {
|
||||
|
||||
switch (stage) {
|
||||
case 1:
|
||||
toplevel.setVisible(true);
|
||||
Util.showWindowWait(toplevel);
|
||||
break;
|
||||
case 2:
|
||||
testToplevel = toplevel;
|
||||
Util.showWindowWait(nofocusFrame);
|
||||
Util.waitForIdle(robot);
|
||||
Util.clickOnComp(showButton, robot);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user