Actually in your case, you should use a viewmodel ...
# tornadofx
e
Actually in your case, you should use a viewmodel and validate against the current password. With your code right now you wouldn't get an error message if the password didn't match.