221222223224225226227228229230231
public void mouseClicked(MouseEvent arg0) { int y = 20-(arg0.getY()/20); int x = arg0.getX()/20; Point myCurrentPoint = new Point(x, y); if(lineToReturn != 0){ if(y == lineToReturn){ mot+= myPlateau.getBriqueLetter(x, y); word.setText(mot);