if (outlinks.size()==0) {   disconnected = true; } else
public void disconnect(Linkable disconnector) {	if (!disconnected && outlinks.contains(disconnector)) {		outlinks.removeElement(disconnector);		// cannot be destoryed by removing links		//if (outlinks.size()==0) {		//	destroy();		//}		//else		 if (outlinks.size()==1)			if (outlinks.firstElement() instanceof VisibleObject)				setColor(((VisibleObject)outlinks.firstElement()).getColor());	}}