You want to assign to graphic, so try `graphic = I...
# tornadofx
e
You want to assign to graphic, so try
graphic = ImageView(Image(it.toURL()...))