Hello, I would like to make fat client desktop application, for REST api implemented in vertx, and I want to reuse as much code as I can, so I would like to use Vertx on client side.
My question is, how I can make Vertx event loop to work together with Swing/JavaFX event loop, as UI interractions are made from speciall GUI thread, and I'd like my vertx callback to be called from that same thread.
Otherwise, after receiving data from server I'd have to call Platform.runLater in JavaFX and SwingUtilities.invokeLater in SWING app.
Actually I'm more concerned with JavaFX, but SWING would be a plus, anyway it's "Main thread" concept is pretty the same.