Meaningless Drivel is fun!*
The moose likes Blatant Advertising and the fly likes Anouncing open source Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Blatant Advertising
Bookmark "Anouncing open source "neoevents": java events made easy" Watch "Anouncing open source "neoevents": java events made easy" New topic
Author

Anouncing open source "neoevents": java events made easy

eric aro
Greenhorn

Joined: Dec 04, 2009
Posts: 15
java events are good, but writing listeners is always very painful !

I used to do that:


And now I can just do that :



The trick is that the last "ActionListener" is in fact the Class com.googlecode.neoevents.java.awt.event.ActionListener
That simply forward every calls to the annotated method of "this".

Of course, I have implemented (generated) the 70 listener available in all J2SE standard packages.

I've just finished it, I would like to have some people testing/feedbacks and information about the Listeners I am missing.

I would need some help doing exactly the same job but using ASM and on the fly generation (to handle every possible listeners).
and also to write "adapter" for the most used Listeners that are not in the J2SE, but I don't know where to start from !


Someone interested ?

here is the project page, a 1.0.0 version is already available.

Regards,

Eric

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Anouncing open source "neoevents": java events made easy
 
Similar Threads
frame close operations (GUI)
Problem with controller class
Java web framwork supporting MVP programming model (as ASP.NET)?
your suggestions to make my "design" correct
Action Adapter