From 73b9cb96d8a3668cf2c54f97f3264dcac4b3fd5b Mon Sep 17 00:00:00 2001 From: besson Date: Sun, 4 Dec 2022 23:58:12 +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/MainMenu.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Test/MainMenu.java b/src/Test/MainMenu.java index 81c3373..f1765a6 100644 --- a/src/Test/MainMenu.java +++ b/src/Test/MainMenu.java @@ -108,7 +108,7 @@ public class MainMenu extends JFrame { * Crée le bar de menu */ private void createJMenuBar() { - JMenu menu = new JMenu("Menu"), file = new JMenu("File"), edit = new JMenu("Edit"), view = new JMenu("Affichage"); + JMenu menu = new JMenu("Menu"), view = new JMenu("Affichage"); JMenuItem adminMenuItem = new JMenuItem("Vue "+viewName[0]); adminMenuItem.addActionListener((event) -> changeView(1)); @@ -137,15 +137,10 @@ public class MainMenu extends JFrame { menu.add(mainMenuItem); menu.add(quitMenuItem); - file.add(new JMenuItem("")); - edit.add(new JMenuItem("")); - view.add(fullScreenMenuItem); view.add(notFullScreenMenuItem); menuBar.add(menu); - menuBar.add(file); - menuBar.add(edit); menuBar.add(view); this.setJMenuBar(menuBar);