aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2003-07-07 19:56:04 +0000
committerThomas Fitzsimmons <fitzsim@gcc.gnu.org>2003-07-07 19:56:04 +0000
commitb6fa901bc961f54ec9b24c77538f159ad6736d20 (patch)
treebdfd6dd308f68b299b088d16dcb5e0de8da7b995 /libjava/java
parent0fcd5ddaa80596940cb2accd8a74f4ceae75fea5 (diff)
downloadgcc-b6fa901bc961f54ec9b24c77538f159ad6736d20.zip
gcc-b6fa901bc961f54ec9b24c77538f159ad6736d20.tar.gz
gcc-b6fa901bc961f54ec9b24c77538f159ad6736d20.tar.bz2
* gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
(setCaretPosition, setEditable): Rely entirely on native implementation. (getArgs): Remove. (postTextEvent): New method. (handleEvent): New method. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New method. * java/awt/event/ActionEvent.java (paramString): Fix formatting. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (keysym_to_awt_keycode): Fix range checks. (generates_key_typed_event): New function. (awt_event_handler): Post AWT_KEY_RELEASED events to event queue. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit): Store TextComponent's postTextEvent method ID. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c (setText): Post TEXT_VALUE_CHANGED event to event queue. From-SVN: r69054
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/awt/event/ActionEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/awt/event/ActionEvent.java b/libjava/java/awt/event/ActionEvent.java
index 4f77fe0..97f9807 100644
--- a/libjava/java/awt/event/ActionEvent.java
+++ b/libjava/java/awt/event/ActionEvent.java
@@ -205,7 +205,7 @@ public class ActionEvent extends AWTEvent
StringBuffer s = new StringBuffer(id == ACTION_PERFORMED
? "ACTION_PERFORMED,cmd="
: "unknown type,cmd=");
- s.append(actionCommand).append(",when=").append(when).append("modifiers");
+ s.append(actionCommand).append(",when=").append(when).append(",modifiers");
int len = s.length();
s.setLength(len + 1);
if ((modifiers & META_MASK) != 0)