|
|
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
TheChangeListenerinterface 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
ThestateChangedmethod has a single parameter: aChangeEventobject. To get the [PENDING object] that generated the event, use the
getSourcemethod whichChangeEventinherits fromEventObject.The
ChangeEventclass defines [PENDING] handy methods ...
- [PENDING]
- [PENDING]
|
|
Using the JFC/Swing Packages |