-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.2
-
None
-
sparc
-
solaris_7
# java -fullversion
java full version "Solaris_JDK_1.2.2_05a"
When the cursor is in a JTextField, hitting the Enter key causes a
character of white space to be put into the text field. Hitting the
Return key does not do this. The expected behavior is that neither
should actually change the contents of the field.
For example, if the cursor is after the 'f' in "foo", the
result of hitting Enter is "f oo".
This problem happens on Solaris, but does not seem to occur on Win32
when running 1.2.2-001.
This can be reproduced using SwingSet.
---
Just it case it wasn't clear, the key with the problem is the
"Enter" key on the numeric keypad, as opposed to the Enter/Return
key on the QWERTY part of the keyboard.
java full version "Solaris_JDK_1.2.2_05a"
When the cursor is in a JTextField, hitting the Enter key causes a
character of white space to be put into the text field. Hitting the
Return key does not do this. The expected behavior is that neither
should actually change the contents of the field.
For example, if the cursor is after the 'f' in "foo", the
result of hitting Enter is "f oo".
This problem happens on Solaris, but does not seem to occur on Win32
when running 1.2.2-001.
This can be reproduced using SwingSet.
---
Just it case it wasn't clear, the key with the problem is the
"Enter" key on the numeric keypad, as opposed to the Enter/Return
key on the QWERTY part of the keyboard.
- duplicates
-
JDK-4257434 Numeric pad enter key inserts extra character in JTextField
- Resolved