contentPane.add(panel_3, BorderLayout.SOUTH);
JButton btnTerminerLexercice = new JButton("Terminer l'exercice");
btnTerminerLexercice.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent arg0) {
timer1.stop();
String repetitions = textField.getText();
if (repetitions == null){repetitions ="0";}
eController.goToResultats(totalsecondes, Integer.parseInt(repetitions));
setVisible(false);