I wrote a test and used this (ugly) logic to switc...
# tornadofx
e
I wrote a test and used this (ugly) logic to switch between two views: