changing the class that was being produced from a ...
# tornadofx
p
changing the class that was being produced from a nested to a top level class fixed it