Ajout de la barre menu

This commit is contained in:
2020-11-21 16:28:55 +01:00
parent 41c86e4ac5
commit f2e3925bea
20 changed files with 7904 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ public class AppThinkerWindow extends JFrame {
* @author V.BOULANGER
*/
public AppThinkerWindow(){
//Paramétrage de la fenêtre
this.setTitle("AppThinker");
this.setExtendedState(JFrame.MAXIMIZED_BOTH);
Image img = null;
@@ -18,6 +19,9 @@ public class AppThinkerWindow extends JFrame {
this.setLocation(0, 0);
this.setSize(500, 500);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
//Ajout du menu à la fenêtre
AppThinkerMenuBar menu = new AppThinkerMenuBar();
this.setJMenuBar(menu);
}
}