title: How to add hint text in a Textfield in JavaFX
body: <p>I want to add some hint text in a textfield, like "name" or "surname". I create the textfield like this <code>TextField userTextField = new TextField();</code> , but I cannot find how to do that. Here, I just found this <a href="https://stackoverflow.com/questions/25125563/clear-prompt-text-in-javafx-textfield-only-when-user-starts-typing/25127540#25127540">Clear prompt text in JavaFX TextField only when user starts typing</a> but I cannot believe this is the only way to do it. Or I am wrong?</p>