@Override
		public void actionPerformed(ActionEvent e) {
			Main.this.autoDisplayBtn.setEnabled(true);

			if (thread != null) {
				if (thread.isAlive()) {
					thread.stop();
					thread = null;
				}
			}

			boolean result = huffmanTreeService.next(Main.this.deletedTreeLbl);

			if (result) {
				showHuffmanCode();
				Main.this.singleStepBtn.setEnabled(false);
				Main.this.autoDisplayBtn.setEnabled(false);
			} else {
				displayStatus();
				displayDeletedTree();
			}
		}