JavaFX Event Bus Recommendations

John Smith John_Smith at
Thu Oct 25 12:13:25 PDT 2012

There are a couple of forum threads on Event Buses you could read to see what other people have done around this:

One of them includes a link to a simple JavaFX implementation which Greg Brown created  (unfortunately the link doesn't work for me as I am not authorized to view it).

-----Original Message-----
From: openjfx-dev-bounces at [mailto:openjfx-dev-bounces at] On Behalf Of Mark Fortner
Sent: Thursday, October 25, 2012 11:31 AM
To: openjfx-dev at
Subject: JavaFX Event Bus Recommendations

In my current application we're using the standard point2point eventing that comes with JavaFX.  To create support for a new type of event we:

   - Create an EventType class.
   - Create an Event class
   - Create an Event Listener interface for it.
   - Add a mixin that makes it easier to add/remove/notify listeners.

Since there are several developers on the list who make heavy use of the Spring framework, I was wondering if anyone had tried using the Spring Eventing framework as  more scaleable approach to adding support for new events?  Or if there were any other Event Bus frameworks that the community could recommend for use with JavaFX?

Also, are there any plans to more directly support an Event Bus in JavaFX?



More information about the openjfx-dev mailing list