changeset 9721:250ae3b92047

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 e80868252521
children 00f71afd9a89 57191c1ffa13
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:03:24 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