mengatur petunjuk pada bidang teks di javafx
userTextField.setPromptText("name"); //to set the hint text
userTextField.getParent().requestFocus(); //to not setting the focus on that node so that the hint will display immediately
Envious Elk