I fixed the mistake in the code listing above. Now...
# tornadofx
e
I fixed the mistake in the code listing above. Now you can also remove
loginScreen.username.requestFocus()
in
LoginController
, because that field will get focus whenever the view is shown again. Notice also that I don't create variables to the input fields, but for properties instead.