This patch (committed) fixes the property name in the event fired by setFixedCellHeight():

2006-04-28  David Gilbert  <[EMAIL PROTECTED]>

        * javax/swing/JList.java
        (setFixedCellHeight): Use correct property name for event.

Regards,

Dave
Index: javax/swing/JList.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/JList.java,v
retrieving revision 1.49
diff -u -r1.49 JList.java
--- javax/swing/JList.java      20 Apr 2006 09:20:21 -0000      1.49
+++ javax/swing/JList.java      28 Apr 2006 10:03:10 -0000
@@ -1129,6 +1129,8 @@
    * #prototypeCellValue} property is set, but setting it explicitly
    * overrides the height computed from [EMAIL PROTECTED] #prototypeCellValue}.
    *
+   * @param h  the height.
+   * 
    * @see #getFixedCellHeight
    * @see #getPrototypeCellValue
    */
@@ -1139,7 +1141,7 @@
 
     int old = fixedCellHeight;
     fixedCellHeight = h;
-    firePropertyChange("fixedCellWidth", old, h);
+    firePropertyChange("fixedCellHeight", old, h);
   }
 
 

Reply via email to