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

TextField.setPromptText() has unexpected behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • Windows, Mac, dev build from graphics-scrum after b12

      Sample FXML-LoginDemo sets a prompt text of "demo" for both a "User" TextField and a "Password" PasswordField. It worked fine earlier (2.1), but with a recent build of 2.2, the prompt text for the "User" TextField does not appear. Yet, when FXML-LoginDemo loses focus, the prompt text for the "User" TextField does appear. There is no issue with the prompt text in the PasswordField.

            leifs Leif Samuelsson (Inactive)
            dmasada Debra Masada (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: