changeset 9753:1465fee32e79

8049418: [macosx] PopupMenuListener.popupMenuWillBecomeVisible is not called for empty combobox on MacOS/aqua look and feel Reviewed-by: anthony, pchelko
author azvegint
date Tue, 08 Jul 2014 11:36:44 +0400
parents e7d09523edc2
children 05b3dd19e202
files src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java	Mon Jul 07 18:19:55 2014 -0700
+++ b/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java	Tue Jul 08 11:36:44 2014 +0400
@@ -120,10 +120,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