make passphrase entry a masked password field

This commit is contained in:
Craig Raw 2021-02-08 12:42:46 +02:00
parent 7bc8bdc13e
commit c27a576b3d

View file

@ -302,7 +302,7 @@ public class DevicePane extends TitledDescriptionPane {
}
private Node getPassphraseEntry() {
CustomTextField passphraseField = (CustomTextField)TextFields.createClearableTextField();
CustomPasswordField passphraseField = (CustomPasswordField)TextFields.createClearablePasswordField();
passphrase.bind(passphraseField.textProperty());
HBox.setHgrow(passphraseField, Priority.ALWAYS);