CreateEvent javadoc complete