<mfunkmann>
Hey guys, can you help me? I wrote a little program using JRuby 9.2.0.0 and JavaFX for the GUI. When the user pushes a button, the app starts its CPU intensive task. While the app is working hard, I would like to display the progress on the UI. So, since I don't want to block the user interface, I tinkered around with Thread.new {my_background_stuff}. Everything is fine, the work now happens in the background and the ui
<mfunkmann>
stays responsive. Question now is: how can this background thread communicate with the main thread? Is there a way to trigger asynchronous callback methods? Is there a clean, beautiful and nice (j)ruby way on doing this?
<lopex>
headius: yeah, he does
<lopex>
headius: it would be cool to hook jruby via CD for it
<mfunkmann>
Okay, it seems like I had to use Platform.runLater
<mfunkmann>
maybe it'll help somebody in the future