are you using replaceWith()?
# tornadofx
c
are you using replaceWith()?