Basic HTML version of Foils prepared 13 July 98

Foil 89 An Array of Checkboxes

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

The CheckboxTest Applet
1 Our checkbox applet has five checkboxes: Checkbox[] box = new Checkbox[5]; box[0] = new Checkbox( "Shoes" ); box[1] = new Checkbox( "Socks" ); box[2] = new Checkbox( "Pants" ); box[3] = new Checkbox( "Shirt" ); box[4] = new Checkbox( "Underwear", true );
2 Note that box[4] is checked by default

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