public void actionPerformed(ActionEvent e) {
		String selected = e.getActionCommand();
		if (selected.indexOf("Font:") != -1) {
			tp.setFont(selected.split("Font:")[1]);
		} else if(selected.indexOf("FontSize:") !=  -1) {
			tp.setFontSize(Integer.parseInt(selected.split("FontSize:")[1]));;
		} else if(selected.indexOf("文字色:") !=  -1) {
			tp.setColor(selected.split("文字色:")[1]);
		} else if(selected.equals("背景色:透明")) {
			tp.setFlag(false);
		} else if(selected.indexOf("背景色:") !=  -1) {
			tp.setFlag(true);
			tp.setBackColor(selected.split("背景色:")[1]);
		} else if(selected == "exit") {
			System.exit(0);
		} else if(selected == "アナログ") {
			tp.setDigitalFlag(false);
		} else if(selected == "デジタル") {
			tp.setDigitalFlag(true);
		} else
			System.out.println(e.getActionCommand());
	}