public void mouseReleased(MouseEvent me) {
		if(isStarted)//don't allow changes while the animation is running
			return;
		if(me.getButton() != MouseEvent.BUTTON1)//only allow left clicks
			return;
		Point p = new Point(me.getX(),me.getY());
		for(State s: machineStates)//determine which state the mose was released in.
		{
			if(s.containsPoint(p))
			{
				State destination = s;
				if(destination == null || source == null)//can not have a transition to/from nowhere.
					return;
				int response = AL.inputTransition();//ask the user what symbol this transition will respond to.
				if(response == -2)//if the user cancels, do not create the transition
					return;
				else
					source.addTransition(destination, response);
				return;
			}
		}
	}