183184185186187188189190
private void onMainMenuInit() { mainMenuWorld = new World(); mainMenuWorld.setAmbientLight(255, 255, 255); mainMenu = new MainMenu(); mainMenu.initialize(mainMenuWorld, buffer); }
5152535455565758596061
this.setVisible(true); } public void createComponents(){ this.setJMenuBar(new MainMenu(userName)); this.setLayout(new BorderLayout()); //this.RepetAction(); this.add(new PanelTop(userName),BorderLayout.NORTH); this.add(new PanelBottom(userName),BorderLayout.SOUTH);