您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Extend Index

Extend Page # 7

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.

basicline.gif (170 bytes)