https://kotlinlang.org logo
e

edvin

08/21/2016, 3:27 PM
@ron A couple of hints. You can supply the stylesheet directly to your App constructor so you don't have to call
importStylesheet
. Also notice that I use the TornadoFX
resources
object to load the images, so you don't need your
loadImageFromResource
anymore. You might also either make sure the controller returns an observable list, or just turn that list into an observable one with the built in
list.observable()
function of TornadoFX, so the TableView declaration would look like
tableview(controller.getPhotoList().observable())
.