private void checkToNode()
	{
		Edge edgeFrom = addressFinder.searchForEdge(to.getText());
		if (edgeFrom != null)
		{
			toNode = edgeFrom.getFromNode();
			to.setText(edgeFrom.getRoadName());
			mapComponent.setTo(true);
			mapComponent.setToNode(toNode);
			mapComponent.repaint();
			reset.setEnabled(true);
			runRouteCalculation();
		} else
		{
			to.setText(null);
			to.setPlaceholder("Street not found");
			toNode = null;
			mapComponent.setTo(false);
			mapComponent.setToNode(null);
			printRoute.setEnabled(false);
			mapComponent.setRouteNodes(null);
		}
		mapComponent.repaint();
	}