Basic HTML version of Foils prepared 13 July 98

Foil 105 List Events

From Java Academy II:Intermediate Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo

The ListTest Applet
The List object is unique in that it can generate two kinds of events
An ItemEvent is generated if the user clicks an item; an ActionEvent is generated if the user double-clicks an item
A List handler must therefore implement two interfaces: ItemListener and ActionListener



© 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