public ScoreDialog() {
		this.setTitle("Score - Jeu du Taquin");
		this.setSize(500,350);
		this.setLocationRelativeTo(null);
		this.setResizable(false);
		this.setAlwaysOnTop(true);
		this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
		this.setIconImage(new ImageIcon("essources/Icons/icon.png").getImage());

		//la table
		model=new ScoreModel();
		table=new JTable(model);
		pane.setViewportView(table);		

		//le bouton initialiser
		if(model.getList().size()==0)
			initialiser.setEnabled(false);
		initialiser.addActionListener(new ActionsController(this));

		//le bouton fermer
		fermer.addActionListener(new ActionsController(this));
		getRootPane().setDefaultButton(fermer);

		//le boutonPane
		boutonPane.setLayout(new FlowLayout(FlowLayout.RIGHT,10,5));
		boutonPane.add(initialiser);
		boutonPane.add(fermer);

		//la paneau par d�faut
		panel.setLayout(new BorderLayout());
		panel.add(pane,BorderLayout.CENTER);
		panel.add(boutonPane,BorderLayout.SOUTH);

		this.getContentPane().add(panel);

		centrerTable(table);

		this.setVisible(true);

	}//fin constructeur