Listeners and adapters for different kinds of AWT events.