@Override
		public void mouseClicked(MouseEvent arg0) {
			JButton button = (JButton) arg0.getSource();
			if (button.getName().equalsIgnoreCase("back")){
				KanjiMemo.showPanel(KanjiMemo.MAIN_SCENE);
			} else if (button.getName().equalsIgnoreCase("undo")){
				drawingPanel.undo();
			} else if (button.getName().equalsIgnoreCase("clear")){
				drawingPanel.clearCanvas();
			} else if (button.getName().equalsIgnoreCase("check")){
				ArrayList<KjStroke> answer = chosenWord.getSimplifiedStrokeList();
				if (KjKanjiComparator.compareKanji(answer, drawingPanel.getSimplified())<KjKanjiComparator.MAXIMUM_DIFFERENCE){
					correct = true;
					checkIcon.setIcon(new ImageIcon("./images/correct_32.png"));
				} else {
					checkIcon.setIcon(new ImageIcon("./images/wrong_32.png"));
				}
				checkNumber.setText(""+KjKanjiComparator.compareKanji(answer, drawingPanel.getSimplified()));
			} else if (button.getName().equalsIgnoreCase("next")){
				chosenWord.increaseTotalAnswer();
				if (correct){
					chosenWord.increaseCorrectAnswer();
				}
				
				chooseRandomKanji();
			} else if (button.getName().equalsIgnoreCase("answer")){
				answerText.setText(chosenWord.getPresentString());
				answerDrawing.setRawStroke(chosenWord.getRawStrokeList());
				answerDrawing.setSimplified(chosenWord.getSimplifiedStrokeList());
				answerDrawing.repaint();
			}
		}