8253130: bug7072653.java failed "Popup window height ... is wrong"

Reviewed-by: psadhukhan
This commit is contained in:
Sergey Bylokhov 2020-09-16 20:23:04 +00:00
parent ce93cbce77
commit 1c84cfa236
2 changed files with 3 additions and 4 deletions
test/jdk
ProblemList.txt
javax/swing/plaf/basic/BasicComboPopup/7072653

@ -836,7 +836,6 @@ javax/swing/JMenuItem/4171437/bug4171437.java 8233641 macosx-all
javax/swing/JMenu/4692443/bug4692443.java 8171998 macosx-all
javax/swing/plaf/synth/7158712/bug7158712.java 8238720 windows-all
javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java 8238720 windows-all
javax/swing/plaf/basic/BasicComboPopup/7072653/bug7072653.java 8238720 windows-all
sanity/client/SwingSet/src/ToolTipDemoTest.java 8225012 windows-all,macosx-all
sanity/client/SwingSet/src/ScrollPaneDemoTest.java 8225013 linux-all

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -104,11 +104,11 @@ public class bug7072653 {
@Override
public int getSize() {
return 100;
return 400;
}
});
combobox.setMaximumRowCount(100);
combobox.setMaximumRowCount(400);
combobox.putClientProperty("JComboBox.isPopDown", true);
frame.getContentPane().add(combobox);
frame.setVisible(true);