Simple Java-based Timer