@@ -0,0 +1,1767 @@
+package Window;%0A%0Aimport java.awt.BorderLayout;%0Aimport java.awt.Color;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0A%0Aimport javax.swing.ImageIcon;%0Aimport javax.swing.JButton;%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0A%0A%0Aclass GlobalConsoleFrame extends JFrame implements ActionListener %0A%7B%0A%0A%09/**%0A%09 * %0A%09 */%0A%09private static final long serialVersionUID = 1L;%0A%09private JPanel panel = new JPanel();%0A%09private JPanel panel1 = new JPanel();%0A%09private JButton b1 = new JButton(%22JOUER%22);%0A%09private JButton b2 = new JButton(%22Cr%C3%A9er un Puzzle%22);%0A%09private JButton b3 = new JButton(%22R%C3%A8gles et Contr%C3%B4les%22);%0A%09private JButton b4 = new JButton(%22QUITTER%22);%0A%0A%0A%09GlobalConsoleFrame()%0A%09%7B %0A%09%09setSize(600,400);%0A%09%09setTitle(%22Jeu Eterninty%22);%0A%09%09this.setResizable(false);%0A%09%09this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A%09%09this.setLocationRelativeTo(null);%0A%09%09ImageIcon pic = new ImageIcon(%22C:%5C%5Ceternity.jpg%22);%0A%09%09panel.add(new JLabel(pic));%0A%09%09panel.setBackground(Color.BLACK);%0A%09%09panel1.setBackground(Color.BLACK);%0A%09%09this.add(panel);%0A%09%09this.add(panel1,BorderLayout.SOUTH);%0A%09%09b1.addActionListener(this);%0A%09%09b2.addActionListener(this);%0A%09%09b3.addActionListener(this);%0A%09%09b4.addActionListener(this);%0A%09%09panel1.add(b1);%0A%09%09panel1.add(b2);%0A%09%09panel1.add(b3);%0A%09%09panel1.add(b4);%0A%09%09this.setVisible(true);%0A%0A%09%09//this.getContentPane().add(b1,BorderLayout.SOUTH);%0A%0A%09%7D%0A%0A%0A%09@Override%0A%09public void actionPerformed(ActionEvent e) %7B%0A%09%09if((JButton)e.getSource()==b1)%0A%09%09%7B%0A%09%09%09new EcranJeu().setVisible(true);%0A%0A%09%09%7D%0A%09%09if((JButton)e.getSource()==b2) //puzzle%0A%09%09%7B%0A%09//%09%09new GrilleJeu().setVisible(true);%0A%0A%09%09%7D%0A%09%09if((JButton)e.getSource()==b3)//regles%0A%09%09%7B%0A%09%09%09new Regle().setVisible(true);%0A%0A%09%09%7D%0A%09%09if((JButton)e.getSource()==b4)//exit%0A%09%09%7B%0A%09%09%09this.dispose();%0A%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create GlobalConsoleFrame.java