21 lines
542 B
Java
21 lines
542 B
Java
|
|
import javax.swing.*;
|
|
import java.awt.event.*;
|
|
|
|
|
|
public class ReinitialiserActionListener implements ActionListener {
|
|
private int[][] grille;
|
|
private SaisieGrille saisieGrille;
|
|
|
|
public ReinitialiserActionListener(int[][] grille, SaisieGrille saisieGrille) {
|
|
this.grille = grille;
|
|
this.saisieGrille = saisieGrille;
|
|
}
|
|
|
|
@Override
|
|
public void actionPerformed(ActionEvent e) {
|
|
Reinitialiser reinitialiser = new Reinitialiser(grille, saisieGrille);
|
|
reinitialiser.actionPerformed(e);
|
|
}
|
|
}
|