From 90b2709927f7c16b9de2e509133313239c48ee7c Mon Sep 17 00:00:00 2001 From: besson Date: Fri, 2 Dec 2022 09:14:01 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'src/Test/MainMenu.?= =?UTF-8?q?java'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Test/MainMenu.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Test/MainMenu.java b/src/Test/MainMenu.java index a1447ea..41800cf 100644 --- a/src/Test/MainMenu.java +++ b/src/Test/MainMenu.java @@ -60,10 +60,10 @@ public class MainMenu extends JFrame { JMenuItem adminMenuItem = new JMenuItem("Vu "+viewName[0]); adminMenuItem.addActionListener((event) -> changeView(1)); - JMenuItem profMenuItem = new JMenuItem("Vu "+viewName[0]); + JMenuItem profMenuItem = new JMenuItem("Vu "+viewName[1]); profMenuItem.addActionListener((event) -> changeView(2)); - JMenuItem studentMenuItem = new JMenuItem("Vu "+viewName[0]); + JMenuItem studentMenuItem = new JMenuItem("Vu "+viewName[2]); studentMenuItem.addActionListener((event) -> changeView(3)); JMenuItem quitMenuItem = new JMenuItem("Quitter");