petit oubli
This commit is contained in:
parent
c3d4688cd3
commit
bc243424f2
@ -25,7 +25,7 @@ public class ObservateurFenetre implements WindowListener{
|
||||
@Override
|
||||
public void windowClosing(WindowEvent e) {
|
||||
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);
|
||||
|
||||
fenetre.dispose();
|
||||
|
@ -234,7 +234,7 @@ public class Model{
|
||||
g.setName(name);
|
||||
}
|
||||
|
||||
public void addEtudiant(Groupg g, Etudiant e){
|
||||
public void addEtudiant(Groupe g, Etudiant e){
|
||||
g.addEtudiant(e);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user