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

PasswordField: Prompt disappears on focus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 7u6
    • javafx

      PasswordField has a flaw: Once the password field gains focus, the prompt text is removed - this is problematic and is also different from how TextField works.

      Primary problem: In applications where the password field is focused as soon as the password field is shown to the user, the prompt will never be shown.

      On a Mac at least, the OS login window works in such a way that you select a photo of yourself first, and then the password field is shown and focused. This works fine, because the OS keeps the prompt text, allowing the user to see that he or she is supposed to type in a "password". This is also how the search field of the Ensemble demo works.

            jdinga Jindrich Dinga (Inactive)
            risaksen Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: