Transférer les fichiers vers 'src/Test'

This commit is contained in:
Romain BESSON 2022-12-04 23:58:12 +01:00
parent f6e24fe05a
commit 73b9cb96d8

View File

@ -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);