Files
DEV/DEV3.1/TP02/02_Confirmation/v1/ControleurBoutonNon.java

18 lines
353 B
Java
Raw Normal View History

2025-09-24 16:24:52 +02:00
import java.awt.*;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class ControleurBoutonNon implements ActionListener {
private JDialog fenetre;
public ControleurBoutonNon(JDialog fenetre) {
this.fenetre = fenetre;
}
public void actionPerformed(ActionEvent e) {
fenetre.dispose();
}
}