mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
8253130: bug7072653.java failed "Popup window height ... is wrong"
Reviewed-by: psadhukhan
This commit is contained in:
parent
ce93cbce77
commit
1c84cfa236
2 changed files with 3 additions and 4 deletions
|
@ -836,7 +836,6 @@ javax/swing/JMenuItem/4171437/bug4171437.java 8233641 macosx-all
|
||||||
javax/swing/JMenu/4692443/bug4692443.java 8171998 macosx-all
|
javax/swing/JMenu/4692443/bug4692443.java 8171998 macosx-all
|
||||||
javax/swing/plaf/synth/7158712/bug7158712.java 8238720 windows-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/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/ToolTipDemoTest.java 8225012 windows-all,macosx-all
|
||||||
sanity/client/SwingSet/src/ScrollPaneDemoTest.java 8225013 linux-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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -104,11 +104,11 @@ public class bug7072653 {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getSize() {
|
public int getSize() {
|
||||||
return 100;
|
return 400;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
combobox.setMaximumRowCount(100);
|
combobox.setMaximumRowCount(400);
|
||||||
combobox.putClientProperty("JComboBox.isPopDown", true);
|
combobox.putClientProperty("JComboBox.isPopDown", true);
|
||||||
frame.getContentPane().add(combobox);
|
frame.getContentPane().add(combobox);
|
||||||
frame.setVisible(true);
|
frame.setVisible(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue