From a6de65759c7c8d29ae680a034b0bce7a7a5dd208 Mon Sep 17 00:00:00 2001 From: besson Date: Fri, 2 Dec 2022 10:13:42 +0100 Subject: [PATCH] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'src/?= =?UTF-8?q?Test'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Test/AdminView.java | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/Test/AdminView.java b/src/Test/AdminView.java index 92f41cd..423eeb2 100644 --- a/src/Test/AdminView.java +++ b/src/Test/AdminView.java @@ -31,15 +31,24 @@ public class AdminView extends JPanel { settings.setPositionX(0); settings.setPositionY(0); - JButton moveStudGrup = new JButton("Changer le groupe d'un etudiant"); - moveStudGrup.addActionListener(this.listener); - moveStudGrup.setActionCommand("av::MoveStudGrup"); - this.add(moveStudGrup, settings); + JButton studList = new JButton("Voir la liste des etudiants"); + studList.setActionCommand("pv::GetStudList"); + studList.addActionListener(this.listener); + this.add(studList, settings); settings.setPositionY(1); this.add(new JLabel(" "), settings); settings.setPositionY(2); + JButton moveStudGrup = new JButton("Changer le groupe d'un etudiant"); + moveStudGrup.addActionListener(this.listener); + moveStudGrup.setActionCommand("av::MoveStudGrup"); + this.add(moveStudGrup, settings); + + settings.setPositionY(3); + this.add(new JLabel(" "), settings); + + settings.setPositionY(4); JButton addStudGrup = new JButton("Ajouter un etudiant dans un groupe"); addStudGrup.addActionListener(this.listener); addStudGrup.setActionCommand("av::AddStudGrup");