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

18 lines
356 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 ControleurBoutonOui implements ActionListener {
private JFrame fenetre;
public ControleurBoutonOui(JFrame fenetre) {
this.fenetre = fenetre;
}
public void actionPerformed(ActionEvent e) {
this.fenetre.dispose();
}
}