I have another question: I want to show the relative time in a a tableview.
That column has to be updated every second (or so).
My (Java) way to solve this:
- ObjectProperty with the current time
- Timeline that updates that property every second with Instant.now
- Create a binding (Bindings.createObjectBinding) that uses the current time property + the property from the object to calculate the delta
Any ideas how to do this better with Kotlin and tornadofx?