Using the JFC/Swing Packages |
Change events occur when [PENDING].
Note: This section assumes that you're familiar with the AWT event listener scheme. If you aren't, you can read about it in The 1.1 AWT Event Model.
Change Event Methods
TheChangeListener
interface has just one method, so it has no corresponding adapter class. Here's the method:
void stateChanged(ChangeEvent)
- Called when [PENDING].
Examples of Handling Change Events
[PENDING]The ChangeEvent Class
ThestateChanged
method has a single parameter: aChangeEvent
object. To get the [PENDING object] that generated the event, use thegetSource
method whichChangeEvent
inherits fromEventObject
.The
ChangeEvent
class defines [PENDING] handy methods ...
- [PENDING]
- [PENDING]
Using the JFC/Swing Packages |