@edvin@carlw I am back. Concerning the password field focus, I think about switching to eventbus to make this easier. I wanted to reproduce the example in “https://edvin.gitbooks.io/tornadofx-guide/content/18.%20Config%20Settings%20and%20State.html” but did not like that username and password are saved. So I only saved username. But if it is started withe the username set, I have to focus the password field instead.