Basic HTML version of Foils prepared 13 July 98

Foil 91 Handling Item Events

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


1 In the example applet CheckboxTest, the itemStateChanged(...) method builds a string depending on the state of each checkbox
2 It uses methods getState() and getLabel() of the Checkbox class, and methods equals(...), lastIndexOf(...), substring(...), and toLowerCase() of the String class

in Table To:


© 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