Basic HTML version of Foils prepared
13 July 98
Foil 90 Processing the Checkboxes
From
Java Academy II:Intermediate Java NPAC/ECS Java Academy --
February to April 98
.
by
Tom Scavo
1
A for-loop processes each checkbox: int n = box.length; for ( int i = 0; i < n; i++ ) { box[i].setForeground(...); box[i].setBackground(...); add( box[i] ); box[i].addItemListener( this ); }
2
The keyword this refers to the current applet
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