[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: swing fixlet
Kaffe CVS
cvs-commits at kaffe.org
Sun Feb 13 15:28:01 PST 2005
PatchSet 5532
Date: 2005/02/13 22:33:37
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU Classpath: swing fixlet
2005-02-13 Dalibor Topic <robilad at kaffe.org>
Resynced with GNU Classpath.
2005-02-10 Michael Koch <konqueror at gmx.de>
* javax/swing/JTabbedPane.java
(Page.setDisplayedMnemonicIndex): Handle empty menmonic.
Members:
libraries/javalib/javax/swing/JTabbedPane.java:1.5->1.6
ChangeLog:1.3576->1.3577
Index: kaffe/libraries/javalib/javax/swing/JTabbedPane.java
diff -u kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.5 kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.6
--- kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.5 Thu Jan 27 14:07:11 2005
+++ kaffe/libraries/javalib/javax/swing/JTabbedPane.java Sun Feb 13 22:33:37 2005
@@ -518,12 +518,12 @@
* or equal to title.length.
*/
public void setDisplayedMnemonicIndex(int index)
- throws IllegalArgumentException
+ throws IllegalArgumentException
{
if (index < -1 || title != null && index >= title.length())
throw new IllegalArgumentException();
- if (title == null || title.charAt(index) != mnemonicKey)
+ if (title == null || mnemonicKey == 0 || title.charAt(index) != mnemonicKey)
index = -1;
underlinedChar = index;
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3576 kaffe/ChangeLog:1.3577
--- kaffe/ChangeLog:1.3576 Sun Feb 13 22:32:04 2005
+++ kaffe/ChangeLog Sun Feb 13 22:33:33 2005
@@ -2,6 +2,15 @@
Resynced with GNU Classpath.
+ 2005-02-10 Michael Koch <konqueror at gmx.de>
+
+ * javax/swing/JTabbedPane.java
+ (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
+
+2005-02-13 Dalibor Topic <robilad at kaffe.org>
+
+ Resynced with GNU Classpath.
+
2005-02-10 Graydon Hoare <graydon at redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
More information about the kaffe
mailing list