Basic HTML version of Foils prepared
13 July 98
Foil 73 A Separate Event Handler
From
Java Academy II:Intermediate Java NPAC/ECS Java Academy --
February to April 98
.
by
Tom Scavo
Since TextField objects generate ActionEvents, what we said earlier of Button objects still applies
The next example, however, uses a separate class to handle the events generated by a pair of TextField objects
In this way, the handler may be reused
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Sat Nov 28 1998