In the JavaFx Scene builder there is a Password Field in the list under controls. If you generate members in the IDE it Dims the variable you have entered in the id field as a Node. You can change that type from Node to Textfield as PasswordField inherits directly from TextField and it should work as expected. I've only tried it quickly, so if you get any problems with it, post another question.