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

TextField.setPromptText() has unexpected behavior

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows, Mac, dev build from graphics-scrum after b12

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: