private void runRouteCalculation()
	{
		if (fromNode != null && toNode != null)
		{
			setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
			wGraph.runDij(fromNode, toNode, isFastestRoute);
			if (wGraph.hasRoute(toNode))
			{
				mapComponent.setRouteNodes(wGraph.calculateRoute(toNode));
				printRoute.setEnabled(true);
				displayDirections();
			}
			else 
			{	
				mapComponent.setRouteNodes(new ArrayList<Node>());
				printRoute.setEnabled(false);
			}
			
			setCursor(Cursor.getDefaultCursor());
		}
	}