文档

Java™ 教程-Java Tutorials 中文版
为常见事件实现监听器
Trail: Creating a GUI With JFC/Swing
Lesson: Writing Event Listeners

为常见事件实现监听器

The following sections give details about implementing specific kinds of event listeners. We do not have a how-to section for every single kind of event listener that you can write. Rather, we cover the listeners we think you are most likely to need. If you are interested in other listeners, you can find some information in the Listener API Table.


Previous page: Listeners Supported by Swing Components
Next page: How to Write an Action Listener