private void printIsConnectedSoluion(LinkedList<GraphNode> reachableNodes) {
		clearCanvas();
		buffGraphics.setStroke(thickStroke);
		for(GraphNode cursor : graph.getNodes())
			if(reachableNodes.contains(cursor))
				cursor.draw(buffGraphics, cursor.getCenterX(), cursor.getCenterY(), Color.GREEN);
			else
				cursor.reDraw(buffGraphics, cursor.getCenterX(), cursor.getCenterY());

		for(GraphEdge edge : graph.getEdges()) {
			buffGraphics.setStroke(stdStroke);
			buffGraphics.setColor(Color.black);
			edge.reDraw(buffGraphics,edge.getFromNode(), edge.getToNode(), graph.isWeighted(), graph.isDirected());
		}
		if((reachableNodes.size() == graph.size()) && (graph.isDirected())) // if graph is connected and directed
			buffGraphics.drawString(strings.getText("G_DIRECTED_CONNECTED"), 10, getHeight() - 40);

		else if((reachableNodes.size() == graph.size()) && (!graph.isDirected())) // if graph is connected and undirected
			buffGraphics.drawString(strings.getText("G_UNDIRECTED_CONNECTED"), 10, getHeight() - 40);

		else if(reachableNodes.size() < graph.size()) // if the graph isn't connected, directed or not
			buffGraphics.drawString(strings.getText("G_NOT_CONNECTED"), 10, getHeight() - 40);

		printExecutionTime();
		printUsedMemory();
		graphics.drawImage(offScreen,0 ,0, this);
	}