Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4331008

Enter key in JTextField on Solaris produces whitespace in string.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None

      Description

      # 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svioletsunw Scott Violet (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: