harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r591428 - in /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing: JComboBox.java plaf/basic/BasicComboBoxUI.java
Date Fri, 02 Nov 2007 19:15:08 GMT
Author: ayza
Date: Fri Nov  2 12:15:08 2007
New Revision: 591428

URL: http://svn.apache.org/viewvc?rev=591428&view=rev
Log:
Applying the patch from HARMONY-4934 ([classlib][EIOffice] JComboBox has focus problem)

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java?rev=591428&r1=591427&r2=591428&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComboBox.java
Fri Nov  2 12:15:08 2007
@@ -568,7 +568,6 @@
 
     public void actionPerformed(ActionEvent e) {
         setSelectedItem(editor.getItem());
-        getUI().setPopupVisible(this, false);
     }
 
     public void contentsChanged(ListDataEvent e) {

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java?rev=591428&r1=591427&r2=591428&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java
Fri Nov  2 12:15:08 2007
@@ -125,7 +125,6 @@
 
         public void focusLost(final FocusEvent e) {
             hasFocus = false;
-            comboBox.hidePopup();
             comboBox.repaint();
         }
     }



Mime
View raw message