Skip to content

Commit

Permalink
8253291: bug7072653.java still failed "Popup window height ... is wrong"
Browse files Browse the repository at this point in the history
Reviewed-by: prr
  • Loading branch information
mrserb committed Sep 19, 2020
1 parent d27835b commit 83b0537
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ public int getSize() {
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) {
Expand Down

1 comment on commit 83b0537

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 83b0537 Sep 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.