8253291: bug7072653.java still failed "Popup window height ... is wrong"

Reviewed-by: prr
This commit is contained in:
Sergey Bylokhov 2020-09-19 22:22:43 +00:00
parent d27835b34e
commit 83b05373a1

View File

@ -112,6 +112,8 @@ public class bug7072653 {
combobox.putClientProperty("JComboBox.isPopDown", true);
frame.getContentPane().add(combobox);
frame.setVisible(true);
robot.delay(3000); // wait some time to stabilize the size of the
// screen insets after the window is shown
combobox.addPopupMenuListener(new PopupMenuListener() {
@Override
public void popupMenuWillBecomeVisible(PopupMenuEvent e) {