private void findTo() {
		possibleToEdges = guiM.findPossibleEdges(cgInstance.getTextFromToTextField());
		if (possibleToEdges.size() > 1){
			new ChooseFrame(this, false);
		} else if(possibleToEdges.size() == 1){
			for(Entry<String, MyEdge> entry : possibleToEdges.entrySet()) {
				guiM.nodeToKDV = entry.getValue().getFromNode().getKDV();
			}
			update(null, false);
			
		} else {
			guiM.nodeToKDV = -1;
			if(!pa.getMalformed()) {
				if(cgInstance.getTextFromToTextField().contains("Path in")) {
					JOptionPane.showMessageDialog(null, "The end address could not be found. \nYou need to right-click the map in order to show directions to paths", "Warning Message", JOptionPane.WARNING_MESSAGE);
				}
				else {
					JOptionPane.showMessageDialog(null, "The end address could not be found", "Warning Message", JOptionPane.WARNING_MESSAGE);
				}
			}
		}
	}