Mise à jour de 'src/Test/Controller.java'

This commit is contained in:
Romain BESSON 2022-12-06 10:55:48 +01:00
parent 29ae321ec7
commit e86b2e4c84

View File

@ -53,6 +53,16 @@ public class Controller implements ActionListener, ListSelectionListener {
this.parent = new MainMenu(this);
}
public Controller(BDatabase db, int selectedView) {
this.db = db;
this.e = this.db.getEtuList();
this.g = this.db.getGroupeList();
this.sv = new StudentView(this.e, this.g, this);
this.pv = new ProfView(this.e, this.g, this);
this.av = new AdminView(this.e, this.g, this);
this.parent = new MainMenu(this, selectedView);
}
/**
*
* Récuperer le nombre de membres d'un groupe