A little timer written in Java