|
|
The Java Event Handling framework
Event handling in Java
supported by the AWT package is an example of the Obeserver design pattern. It is implemented by means of Listener
interfaces. Design patterns in
general are examples of useful solutions for specific problems.
Java util package supports the Observer
design pattern, which the developer can use to specify event handling outside
the AWT framework.
|
|