[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: more fixes for swing Label mnemonic handling

Kaffe CVS cvs-commits at kaffe.org
Wed Dec 22 17:17:35 PST 2004


PatchSet 5712 
Date: 2004/12/23 01:13:34
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: more fixes for swing Label mnemonic handling

Members: 
	ChangeLog:1.3257->1.3258 
	libraries/javalib/javax/swing/JLabel.java:1.6->1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3257 kaffe/ChangeLog:1.3258
--- kaffe/ChangeLog:1.3257	Thu Dec 23 01:01:27 2004
+++ kaffe/ChangeLog	Thu Dec 23 01:13:34 2004
@@ -2,6 +2,16 @@
 
 	* libraries/javalib/javax/swing/JLabel.java:
 	Resynced with GNU Classpath.
+
+	2004-12-21  Michael Koch  <konqueror at gmx.de>
+
+	* javax/swing/JLabel.java (setDisplayedMnemoic):
+	Make text upper case before searching mnemonic character.
+	
+2004-12-22  Dalibor Topic  <robilad at kaffe.org>
+
+	* libraries/javalib/javax/swing/JLabel.java:
+	Resynced with GNU Classpath.
 	
 	2004-12-21  Michael Koch  <konqueror at gmx.de>
 
Index: kaffe/libraries/javalib/javax/swing/JLabel.java
diff -u kaffe/libraries/javalib/javax/swing/JLabel.java:1.6 kaffe/libraries/javalib/javax/swing/JLabel.java:1.7
--- kaffe/libraries/javalib/javax/swing/JLabel.java:1.6	Thu Dec 23 01:01:30 2004
+++ kaffe/libraries/javalib/javax/swing/JLabel.java	Thu Dec 23 01:13:36 2004
@@ -372,7 +372,7 @@
 	displayedMnemonic = mnemonic;
 
 	if (text != null)
-	  setDisplayedMnemonicIndex(text.indexOf(mnemonic));
+	  setDisplayedMnemonicIndex(text.toUpperCase().indexOf(mnemonic));
       }
   }
 




More information about the kaffe mailing list