18 lines
353 B
Java
18 lines
353 B
Java
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();
|
|
}
|
|
} |