[kaffe] CVS kaffe (robilad): resynced with gnu classpath: swing fix

Kaffe CVS cvs-commits at kaffe.org
Sun May 15 02:34:16 PDT 2005


PatchSet 6472 
Date: 2005/05/15 09:26:22
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
resynced with gnu classpath: swing fix

2005-05-15  Dalibor Topic  <robilad at kaffe.org>

        Resynced with GNU Classpath.

        2005-04-26  Roman Kennke  <roman at kennke.org>

        * javax/swing/JToggleButton.java
        (JToggleButton): Removed horizontalAlignment setting, this
        was wrong. Added setting of an actionCommand, ToggleButtons
        have  as default actionCommand.

Members: 
	ChangeLog:1.3999->1.4000 
	libraries/javalib/javax/swing/JToggleButton.java:1.6->1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3999 kaffe/ChangeLog:1.4000
--- kaffe/ChangeLog:1.3999	Sun May 15 09:21:31 2005
+++ kaffe/ChangeLog	Sun May 15 09:26:22 2005
@@ -2,6 +2,17 @@
 
 	Resynced with GNU Classpath.
 
+	2005-04-26  Roman Kennke  <roman at kennke.org>
+
+        * javax/swing/JToggleButton.java
+        (JToggleButton): Removed horizontalAlignment setting, this
+        was wrong. Added setting of an actionCommand, ToggleButtons
+        have "" as default actionCommand.
+
+2005-05-15  Dalibor Topic  <robilad at kaffe.org>
+
+	Resynced with GNU Classpath.
+
 	2005-04-26  David Daney  <ddaney at avtrex.com>
 
         * java/net/InetAddress.java (InetAddress): Make a private copy of
Index: kaffe/libraries/javalib/javax/swing/JToggleButton.java
diff -u kaffe/libraries/javalib/javax/swing/JToggleButton.java:1.6 kaffe/libraries/javalib/javax/swing/JToggleButton.java:1.7
--- kaffe/libraries/javalib/javax/swing/JToggleButton.java:1.6	Sat Feb 19 17:51:21 2005
+++ kaffe/libraries/javalib/javax/swing/JToggleButton.java	Sun May 15 09:26:25 2005
@@ -243,9 +243,9 @@
   {
     super(text, icon);
 
-    horizontalAlignment = LEADING;
     setModel(new ToggleButtonModel());	
     model.setSelected(selected);
+    model.setActionCommand("");
   }
 
   /**




More information about the kaffe mailing list