changeset 25571:c65329415365

8049418: [macosx] PopupMenuListener.popupMenuWillBecomeVisible is not called for empty combobox on MacOS/aqua look and feel Reviewed-by: anthony, pchelko
author azvegint
date Mon, 07 Jul 2014 18:56:50 +0400
parents a72022403893
children 72ada33d5b97
files jdk/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java	Fri Jul 04 15:16:02 2014 +0400
+++ b/jdk/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java	Mon Jul 07 18:56:50 2014 +0400
@@ -121,10 +121,6 @@
     public void show() {
         final int startItemCount = comboBox.getItemCount();
 
-        if (startItemCount == 0) {
-            return;
-        }
-
         final Rectangle popupBounds = adjustPopupAndGetBounds();
         if (popupBounds == null) return; // null means don't show