You initialize your ViewModel with the initial sta...
# tornadofx
e
You initialize your ViewModel with the initial state of the Person. Then you call commit at some point when the user has changed the data. After that you can get the new person back by accessing
viewModel.item
.