private void paintTree()
	{
		addAnswerToList(myParser.getAnswer().getDerivation());
		ParseNode answer=myParser.getAnswer();

		treePanel.setAnswer(answer);
		treePanel.repaint();
		if (answer.getProductions().length>0)
			statusDisplay.setText("Derived current Strings using "+answer.getProductions()[0]+" production");
		else
			statusDisplay.setText("");
		if (myParser.isStringTerminal(answer.getDerivation()))
		{
			progress.setText("No Additional Production is Possible");
			stepAction.setEnabled(false);
		}
	}