How do you use GWT's SimpleEventBus or EventBus?
问题 I'm working on developing some simple graphing software which needs to be implemented in both swing and gwt. On the gwt side, I'm going to use gwt-g2d for the canvas. I was hoping to use an eventbus across both implementations to simplify some of the software. My understanding is that it should be something like this: Instantiate EventBus Instantiate Parent Widget, sink the events you want for the EventBus (mouseover or rpc callback, for example) Set EventBus to listen for events from the