An event library for Java