commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog javax/swing/DefaultButtonMo...


From: David Gilbert
Subject: [commit-cp] classpath ChangeLog javax/swing/DefaultButtonMo...
Date: Fri, 16 Jun 2006 13:45:05 +0000

CVSROOT:        /sources/classpath
Module name:    classpath
Changes by:     David Gilbert <trebligd>        06/06/16 13:45:01

Modified files:
        .              : ChangeLog 
        javax/swing    : DefaultButtonModel.java 

Log message:
        2006-06-16  David Gilbert  <address@hidden>
        
                * javax/swing/DefaultButtonModel.java
                (setSelected): Use 'this', not null, for the item in the 
ItemEvent.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7842&r2=1.7843
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/DefaultButtonModel.java?cvsroot=classpath&r1=1.28&r2=1.29

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/classpath/classpath/ChangeLog,v
retrieving revision 1.7842
retrieving revision 1.7843
diff -u -b -r1.7842 -r1.7843
--- ChangeLog   16 Jun 2006 13:15:14 -0000      1.7842
+++ ChangeLog   16 Jun 2006 13:44:51 -0000      1.7843
@@ -1,5 +1,10 @@
 2006-06-16  David Gilbert  <address@hidden>
 
+       * javax/swing/DefaultButtonModel.java
+       (setSelected): Use 'this', not null, for the item in the ItemEvent.
+
+2006-06-16  David Gilbert  <address@hidden>
+
        * javax/swing/event/ListDataEvent.java: updated API docs, plus
        (ListDataEvent): Handle case where index0 > index1,
        (toString): Implemented.

Index: javax/swing/DefaultButtonModel.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/DefaultButtonModel.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- javax/swing/DefaultButtonModel.java 16 May 2006 19:48:39 -0000      1.28
+++ javax/swing/DefaultButtonModel.java 16 Jun 2006 13:44:59 -0000      1.29
@@ -466,14 +466,14 @@
     if (s)
       {
         fireItemStateChanged(new ItemEvent(this, ItemEvent.ITEM_STATE_CHANGED,
-                                           null, ItemEvent.SELECTED));
+                                           this, ItemEvent.SELECTED));
         if (group != null)
           group.setSelected(this, true);
       }
     else
       {
         fireItemStateChanged(new ItemEvent(this, ItemEvent.ITEM_STATE_CHANGED,
-                                           null, ItemEvent.DESELECTED));
+                                           this, ItemEvent.DESELECTED));
         if (group != null)
           group.setSelected(this, false);
       }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]