<commit_before>package fr.ExiaGeek;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JComboBox;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;



public class Lanceur extends JFrame {
	
	private JPanel container = new JPanel();
	private JComboBox combo = new JComboBox();
	private JLabel label = new JLabel("Liste Maps");
	
	
	private static final long serialVersionUID = -4248310360580329628L;

	
	
	private JTextField textFieldPseudo = new JTextField("Votre Pseudo");
	private JLabel labelPseudo = new JLabel("    Pseudo : ");
	
	private JButton boutonNouvellePartie = new JButton("Nouvelle partie"),
			boutonChargerPartie = new JButton("Charger une partie"),
			boutonQuitter = new JButton("Quitter");
	
	private listenerNouvellePartie nouvellePartie = new listenerNouvellePartie();
	private listenerChargerPartie chargerPartie = new listenerChargerPartie();
	
	public Lanceur(){
		this.setTitle("ExiaGeek");
        this.setSize(420, 150);
        this.setLocationRelativeTo(null);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        this.init();
        this.setContentPane(container);
        this.setVisible(true);
        
        this.setTitle("Animation");
	    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	    this.setLocationRelativeTo(null);
	    
	    container.setLayout(new BorderLayout());
	    String[] tab = {"Map1","Map2","Map3"};
	    combo = new JComboBox(tab);
	    
	    combo.addItemListener(new ItemState());
	   
	    
	    JPanel top = new JPanel();
	    top.add(label);
	    top.add(combo);
	    container.add(top, BorderLayout.WEST);
	    this.setContentPane(container);
	    this.setVisible(true);  
	    
	}
	
	    class ItemState implements ItemListener{
	        public void itemStateChanged(ItemEvent e) {
	          System.out.println("vnement dclench sur : " + e.getItem());
	        }               
	      }
	
	
	private void init(){		
		JPanel panelPseudo = new JPanel();
		panelPseudo.add(labelPseudo);
		panelPseudo.add(textFieldPseudo);
		
		JPanel panelCarte = new JPanel();
		
		JPanel panelBouton = new JPanel();
		
		boutonNouvellePartie.addActionListener(nouvellePartie);
		boutonChargerPartie.addActionListener(chargerPartie);
		boutonQuitter.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent arg0){
				int choix = JOptionPane.showConfirmDialog(null,
						"Voulez-vous vraiment quitter ?",
						"Quitter",
						JOptionPane.YES_NO_CANCEL_OPTION,
						JOptionPane.QUESTION_MESSAGE);
				
				if(choix == JOptionPane.OK_OPTION){
					System.out.println("Fermeture de l'application...");
					System.exit(0);
				}
			}
		});
				
		panelBouton.add(boutonNouvellePartie);
		panelBouton.add(boutonChargerPartie);
		panelBouton.add(boutonQuitter);
		
		container.add(panelPseudo, BorderLayout.NORTH);
		container.add(panelCarte, BorderLayout.EAST);
		container.add(panelBouton, BorderLayout.SOUTH);
	}
	

	public class listenerNouvellePartie implements ActionListener {
		public void actionPerformed(ActionEvent arg0){
			final Partie maPartie = new Partie();
			maPartie.afficher();
			maPartie.calculerScore();
		}
	}
	
	public class listenerChargerPartie implements ActionListener {
		public void actionPerformed(ActionEvent arg0){
			
		}
	}
}
<commit_msg>correction containeur<commit_after>package fr.ExiaGeek;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JComboBox;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;



public class Lanceur extends JFrame {
	
	private JPanel container = new JPanel();
	private JComboBox combo = new JComboBox();
	private JLabel label = new JLabel("Liste Maps");
	
	
	private static final long serialVersionUID = -4248310360580329628L;

	
	
	private JTextField textFieldPseudo = new JTextField("Votre Pseudo");
	private JLabel labelPseudo = new JLabel("    Pseudo : ");
	
	private JButton boutonNouvellePartie = new JButton("Nouvelle partie"),
			boutonChargerPartie = new JButton("Charger une partie"),
			boutonQuitter = new JButton("Quitter");
	
	private listenerNouvellePartie nouvellePartie = new listenerNouvellePartie();
	private listenerChargerPartie chargerPartie = new listenerChargerPartie();
	
	public Lanceur(){
		this.setTitle("ExiaGeek");
        this.setSize(420, 150);
        this.setLocationRelativeTo(null);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        this.init();
        this.setContentPane(container);
        this.setVisible(true);
        
        this.setTitle("Animation");
	    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	    this.setLocationRelativeTo(null);
	    
	    container.setLayout(new BorderLayout());
	    String[] tab = {"Map1", "Map2","Map3"};
	    combo = new JComboBox(tab);
	    
	    combo.addItemListener(new ItemState());
	   
	    
	    JPanel top = new JPanel();
	    top.add(label);
	    top.add(combo);
	    container.add(top, BorderLayout.WEST);
	    this.setContentPane(container);
	    this.setVisible(true);  
	    
	}
	
	    class ItemState implements ItemListener{
	        public void itemStateChanged(ItemEvent e) {
	          System.out.println("vnement dclench sur : " + e.getItem());
	        }               
	      }
	
	
	private void init(){		
		JPanel panelPseudo = new JPanel();
		panelPseudo.add(labelPseudo);
		panelPseudo.add(textFieldPseudo);
		
		JPanel panelCarte = new JPanel();
		
		JPanel panelBouton = new JPanel();
		
		boutonNouvellePartie.addActionListener(nouvellePartie);
		boutonChargerPartie.addActionListener(chargerPartie);
		boutonQuitter.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent arg0){
				int choix = JOptionPane.showConfirmDialog(null,
						"Voulez-vous vraiment quitter ?",
						"Quitter",
						JOptionPane.YES_NO_CANCEL_OPTION,
						JOptionPane.QUESTION_MESSAGE);
				
				if(choix == JOptionPane.OK_OPTION){
					System.out.println("Fermeture de l'application...");
					System.exit(0);
				}
			}
		});
				
		panelBouton.add(boutonNouvellePartie);
		panelBouton.add(boutonChargerPartie);
		panelBouton.add(boutonQuitter);
		
		container.add(panelPseudo, BorderLayout.NORTH);
		container.add(panelCarte, BorderLayout.EAST);
		container.add(panelBouton, BorderLayout.SOUTH);
	}
	

	public class listenerNouvellePartie implements ActionListener {
		public void actionPerformed(ActionEvent arg0){
			final Partie maPartie = new Partie();
			maPartie.afficher();
			maPartie.calculerScore();
		}
	}
	
	public class listenerChargerPartie implements ActionListener {
		public void actionPerformed(ActionEvent arg0){
			
		}
	}
}

{'fraction_non_alphanumeric': 0.10289389067524116, 'fraction_numerical': 0.008947294841325318, 'mean_word_length': 3.8110289172831204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2121544', 'n_tokens_mistral': 2602, 'n_tokens_neox': 2262, 'n_words': 422}