Spec-Zone .ru
спецификации, руководства, описания, API
Trail: Creating a GUI With JFC/Swing
Lesson: Writing Event Listeners
Solving Common Event-Handling Problems
Home Page > Creating a GUI With JFC/Swing > Writing Event Listeners

Solving Common Event-Handling Problems

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.


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

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