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

TextField : CaretPosition is incorrect the first time.

    Details

      Description

      When you set a TextField somewhere, and call the 'end()" method in order to put the caret position at the end of the text, it's not correctly positioned.

      The blinking caret will still be at the beginning like if nothing happened. But if you move with keyboard with the left arrow, you'll see that it was effectively at the end. So I think it's a layout problem..

      Sample use case here, run it and click on the text to make the TextField appears : http://pastebin.com/dnYi9Dpr

        Attachments

          Activity

            People

            • Assignee:
              leifs Leif Samuelsson (Inactive)
              Reporter:
              shadzic Samir Hadzic
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: