Basic HTML version of Foils prepared 13 July 98

Foil 93 Creating a CheckboxGroup

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

The CheckboxGroupDemo Applet
To create a CheckboxGroup, one uses yet another form of the Checkbox constructor: int n = 6; Checkbox[] radio = new Checkbox[n]; CheckboxGroup group = new CheckboxGroup(); for ( int i = 0; i < n; i++ ) { radio[i] = new Checkbox( label[i], group, false ); ... }



© 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