public void setScanStatus(boolean b) {
		if (scanning = b == true)
		{			
			scanning = true;			
		}
		
		else if(scanning = b == false && canceled == true)
		{
			scanning = false;
			((InformationBar) infoPanel).update();
		}
		
		else
		{			
			scanning = false;			
			currentNode = ((InformationBar) infoPanel).update();
			((DefaultGraphPanel) graphPanel).update(currentNode);
		}
	}