edvin
09/25/2018, 9:45 PMinit block of your main view, there is a distinct possibility that your event will fire before the rest of your UI is set up. You could probably just wrap the emission in a runLater - this will cause it to be queued on the UI thread, but you wouldn't have a guarantee in this case either. I'd move that code to a controller, but also initialize it from onDock since other UI elements are supposed to get notified of the event.