Hi,
Why is there no basic event class providing a sender and a timestamp?
Perhaps is an interface for unified event producer class missing too. I
would purpose the following interface/methods:
interface EventDispatcher
{
public void addEventListener(EventListener listener);
public void removeEventListener(EventListener listener);
}
and perhaps a default event dispatcher class that simply stores the
events in a Vector and provides a protected dispatchEvent method that
sends an event to all the registered listeners.
event programming is sooooo cool ;)
Nils