Handler for LTG events, written in Java