ITSE 2317 OOP
Handling document events on a text field and creating a color swatch
Lecture # 13
Run: Fri May 18 07:28:26 CDT 2012
Baldwin

Slides
aa  -  ITSE 2317 Java Programming (Intermediate)
ab  -  Handling document events on a text field - Creating a color swatch
ac  -  Figures
ad  -  Listings
ae  -  Program output at startup
af  -  Program output after clicking the button
ag  -  Program output after clicking the button (cont'd)
ah  -  Program output after clicking the button (cont'd)
ai  -  Program output after entering color values
aj  -  Program output after entering color values (cont'd)
ak  -  Color of square tracks color values in text fields
al  -  Discussion and sample code
am  -  Will explain in fragments
an  -  The driver class
ao  -  Beginning of the class named Prob13Runner
ap  -  Beginning of constructor for Prob13Runner
aq  -  Continue the constructor
ar  -  Register listeners on the user input components
as  -  Register listeners on the user input components (cont'd)
at  -  Register a listener object on the button
au  -  The DocumentListener interface
av  -  The DocumentListener interface (cont'd)
aw  -  DocumentListener methods
ax  -  DocumentListener methods (cont'd)
ay  -  Beginning of DocumentListener
az  -  Beginning of DocumentListener (cont'd)
ba  -  The removeUpdate method
bb  -  Behavior of the removeUpdate method
bc  -  Behavior of the removeUpdate method (cont'd)
bd  -  Behavior of the removeUpdate method (cont'd)
be  -  Behavior of the removeUpdate method (cont'd)
bf  -  Behavior of the removeUpdate method (cont'd)
bg  -  The insertUpdate method
bh  -  The end of the class definition
bi  -  The Green and Blue text fields
bj  -  The method named paintColorSwatch
bk  -  The method named paintColorSwatch (cont'd)
bl  -  The end of the program
bm  -  Complete program listing
bn  -  The End

-end-