[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: basic plaf fix

Kaffe CVS cvs-commits at kaffe.org
Fri Apr 22 17:05:47 PDT 2005


PatchSet 5743 
Date: 2005/04/22 23:52:38
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: basic plaf fix

2005-04-22  Dalibor Topic  <robilad at kaffe.org>

        Resynced with GNU Classpath:

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

        * javax/swing/plaf/basic/BasicScrollBarUI.java
        (PropertyChangeHandler.propertyChange): Add default
        to switch statement to avoid errors with unusual values
        for orientation.
        (installComponents): Likewise.

Members: 
	ChangeLog:1.3911->1.3912 
	libraries/javalib/javax/swing/plaf/basic/BasicScrollBarUI.java:1.9->1.10 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3911 kaffe/ChangeLog:1.3912
--- kaffe/ChangeLog:1.3911	Fri Apr 22 23:45:10 2005
+++ kaffe/ChangeLog	Fri Apr 22 23:52:38 2005
@@ -5,6 +5,18 @@
 	2005-04-18  Roman Kennke  <roman at kennke.org>
 
         * javax/swing/plaf/basic/BasicScrollBarUI.java
+        (PropertyChangeHandler.propertyChange): Add default
+        to switch statement to avoid errors with unusual values
+        for orientation.
+        (installComponents): Likewise.
+
+2005-04-22  Dalibor Topic  <robilad at kaffe.org>
+
+	Resynced with GNU Classpath:
+
+	2005-04-18  Roman Kennke  <roman at kennke.org>
+
+        * javax/swing/plaf/basic/BasicScrollBarUI.java
         (installUI): Install listeners after everything all, otherwise
         we get strange NPEs in some situations, especially with
         custom L&Fs.
Index: kaffe/libraries/javalib/javax/swing/plaf/basic/BasicScrollBarUI.java
diff -u kaffe/libraries/javalib/javax/swing/plaf/basic/BasicScrollBarUI.java:1.9 kaffe/libraries/javalib/javax/swing/plaf/basic/BasicScrollBarUI.java:1.10
--- kaffe/libraries/javalib/javax/swing/plaf/basic/BasicScrollBarUI.java:1.9	Fri Apr 22 23:45:17 2005
+++ kaffe/libraries/javalib/javax/swing/plaf/basic/BasicScrollBarUI.java	Fri Apr 22 23:52:41 2005
@@ -159,7 +159,7 @@
               incrButton = createIncreaseButton(EAST);
               decrButton = createDecreaseButton(WEST);
               break;
-            case (JScrollBar.VERTICAL):
+            default:
               incrButton = createIncreaseButton(SOUTH);
               decrButton = createDecreaseButton(NORTH);
               break;
@@ -796,7 +796,7 @@
         incrButton = createIncreaseButton(EAST);
         decrButton = createDecreaseButton(WEST);
         break;
-      case (JScrollBar.VERTICAL):
+      default:
         incrButton = createIncreaseButton(SOUTH);
         decrButton = createDecreaseButton(NORTH);
         break;




More information about the kaffe mailing list