文档

Java™ 教程-Java Tutorials 中文版
解决常见的事件处理问题
Trail: Creating a GUI With JFC/Swing
Lesson: Writing Event Listeners

解决常见的事件处理问题

This section discusses problems that you might encounter while handling events.

Problem:I'm trying to handle certain events from a component, but the component isn't generating the events it should.

Problem:My combo box isn't generating low-level events such as focus events.

Problem:The document for an editor pane (or text pane) isn't firing document events.

If you don't see your problem in this list, see Solving Common Component Problems.


Previous page: Listener API Table
Next page: Questions and Exercises: Writing Event Listeners