Create event.java