| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 
 | public void init() {
 
		setTitle(" Coupe de la ligue : ENREGISTREMENT DES SCORES ");
		setSize(1000, 190);
		setJMenuBar(getJBarre_de_menu());
		setLocation(150,0);
		this.setResizable(false);
 
		new SplashScreen("Splash.jpg", new Frame(), 10000);
 
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
			UIManager.put("Panel.background",new ColorUIResource(Color.orange));
		} catch (Exception e) {
			e.printStackTrace();
		}
 
		ActionListener valider = new ValiderAction();
		ActionListener command = new CommandAction();
 
		panel0 = new JPanel();
		panel0.setVisible(false);
		panel0.setLayout(new GridLayout(1, 5));
 
		choix1 = new WChoice();
		choix1.init();
		panel0.add(choix1);
 
		but1 = new JTextField();
		but1.setText("0");
		panel0.add(but1);
 
		but2 = new JTextField();
		but2.setText("0");
		panel0.add(but2);
 
		choix2 = new WChoice2();
		choix2.init();
		panel0.add(choix2);
		addButton(" valider ", valider);
 
		add(panel0, BorderLayout.NORTH);
 
		panel1 = new JPanel();
		panel1.setVisible(false);
		panel1.add(addButton("Classement", command));
		add(panel1, BorderLayout.CENTER);
	} |