nomi = new JCheckBox[ 100];
crediti = new JLabel[100];
ActionListener ascoltaCrediti = new ActionListener() {
public void actionPerformed( ActionEvent e) {
if( (this.isSelected()) {} s
}
};
for( int i=0; i<100; i++) {
nomi[i] = new JCheckBox();
crediti[i] = new JLabel();
add( nomi[i]);
add( crediti[i]);
}
int somma