@Override
		public void actionPerformed(ActionEvent e) {

			deletedTreeLbl
			.setText("\u8fdb\u884c\u5408\u5e76\u64cd\u4f5c\u7684\u4e8c\u53c9\u6811");
			
			if (thread != null) {
				if (thread.isAlive()) {
					thread.stop();
					thread = null;
				}
			}

			String inputChars = charTF.getText();
			String inputWeight = weightTF.getText();
			try {
				String[] chars = InputDealer.getString(inputChars);
				Integer[] weight = InputDealer.getInteger(inputWeight);

				// ֤
				if (chars == null || weight == null || chars.length > 10
						|| weight.length > 10
						|| (chars.length != weight.length))
					throw new Exception();
				huffmanTreeService.setChars(chars);
				huffmanTreeService.setWeight(weight);
				huffmanTreeService.start();

				Main.this.autoDisplayBtn.setEnabled(true);
				Main.this.singleStepBtn.setEnabled(true);
				Main.this.startBtn.setText("¿ʼ");
				displayStatus();
				displayDeletedTree();

			} catch (Exception e1) {
				JOptionPane.showMessageDialog(Main.this, "鲢!",
						"", JOptionPane.ERROR_MESSAGE);
			}
		}