The Dynamic Proxy API may be used to dynamically generate event listeners. This API includes the InvocationHandler interface and the Proxy class, which contains a set of static factory methods.
This page describes methods for keeping your computer's time accurate. This is useful for servers, but is not necessary (or desirable) for desktop machines.