public State stateCreate(Point point) {

		if (currentStep != CREATE_SINGLE_TRAPSTATE) {
			outOfOrder();
			return null;
		}
		myTrapState = automaton.createState(point);
		myTrapState.setLabel("Trap State");
		frame.repaint();
		currentStep=TRANSITIONS_TO_TRAPSTATE;
		nextStep();
		return myTrapState;
	}