petit oubli

This commit is contained in:
martins 2022-11-13 19:59:13 +01:00
parent c3d4688cd3
commit bc243424f2
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ public class ObservateurFenetre implements WindowListener{
@Override @Override
public void windowClosing(WindowEvent e) { public void windowClosing(WindowEvent e) {
JFrame fenetre= (JFrame) e.getSource(); JFrame fenetre= (JFrame) e.getSource();
int confirmation = JOptionPane.showConfirmDialog(fenetre.getContentPane(), "Voulez vous auvegarder Avant de quitter?", "Quitter", JOptionPane.YES_NO_OPTION); int confirmation = JOptionPane.showConfirmDialog(fenetre.getContentPane(), "Voulez vous sauvegarder Avant de quitter?", "Quitter", JOptionPane.YES_NO_OPTION);
if(confirmation != JOptionPane.OK_OPTION); if(confirmation != JOptionPane.OK_OPTION);
fenetre.dispose(); fenetre.dispose();

View File

@ -234,7 +234,7 @@ public class Model{
g.setName(name); g.setName(name);
} }
public void addEtudiant(Groupg g, Etudiant e){ public void addEtudiant(Groupe g, Etudiant e){
g.addEtudiant(e); g.addEtudiant(e);
} }
} }