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

TextField: text disappears after being selected and then clicked.

    XMLWordPrintable

Details

    Description

      If a TextField contains text which is longer then TextField width, the following steps can be done to reproduce the issue:
      1. Double click the TextField to select the whole text.
      2. Click once to deselect it. The text will disappear.

      Apparently, just pressing ctrl+A or selecting all text in any other way doesn't reproduce the issue.

      First observed in 2.2 b02.
      To reproduce please use the attached NetBeans project (if the application starts up with selected text in TextField, deselect it before trying to reproduce the issue).

      Attachments

        Issue Links

          Activity

            People

              leifs Leif Samuelsson (Inactive)
              ilatyshe Irina Grineva (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: