Mise à jour de 'src/Test/MainMenu.java'
This commit is contained in:
parent
49b63f9dfe
commit
90b2709927
@ -60,10 +60,10 @@ public class MainMenu extends JFrame {
|
|||||||
JMenuItem adminMenuItem = new JMenuItem("Vu "+viewName[0]);
|
JMenuItem adminMenuItem = new JMenuItem("Vu "+viewName[0]);
|
||||||
adminMenuItem.addActionListener((event) -> changeView(1));
|
adminMenuItem.addActionListener((event) -> changeView(1));
|
||||||
|
|
||||||
JMenuItem profMenuItem = new JMenuItem("Vu "+viewName[0]);
|
JMenuItem profMenuItem = new JMenuItem("Vu "+viewName[1]);
|
||||||
profMenuItem.addActionListener((event) -> changeView(2));
|
profMenuItem.addActionListener((event) -> changeView(2));
|
||||||
|
|
||||||
JMenuItem studentMenuItem = new JMenuItem("Vu "+viewName[0]);
|
JMenuItem studentMenuItem = new JMenuItem("Vu "+viewName[2]);
|
||||||
studentMenuItem.addActionListener((event) -> changeView(3));
|
studentMenuItem.addActionListener((event) -> changeView(3));
|
||||||
|
|
||||||
JMenuItem quitMenuItem = new JMenuItem("Quitter");
|
JMenuItem quitMenuItem = new JMenuItem("Quitter");
|
||||||
|
Loading…
Reference in New Issue
Block a user