Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Javent - Events in Java

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Writing event handlers in Java is easy, which is nice. Unfortunately, in my experience creating custom events has been repetitive and generates much messy code. I also don't like the idea of using the AWT or Swing event queues. So after a few projects containing ridiculous boilerplate I came up with Javent . This small library cleans up the code required to make event systems, and is generally nicer than hacking up a solution from scratch yourself every time.
Please note that Javent is fairly young, and I would happily accept advice.
Try it out and see what you think!
 
Aiden Nibali
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If anyone is using Javent, I recommend trying the new version (0.02), as it features a nicer way of creating transmitters. Now you can basically set up an entire system by creating a single Listener interface ! Notes on usage are available on the wiki.
    Bookmark Topic Watch Topic
  • New Topic