Skip to content
Permalink
Browse files
8253130: bug7072653.java failed "Popup window height ... is wrong"
Reviewed-by: psadhukhan
  • Loading branch information
mrserb committed Sep 16, 2020
1 parent ce93cbc commit 1c84cfa2364fa18fc028df89bdc4de207365784f
Show file tree
Hide file tree
Showing 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/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 Object getElementAt(int index) {

@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);

1 comment on commit 1c84cfa

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 1c84cfa Sep 16, 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.