sbool sameComponentOrDeepChildOf(Component a, Component b) { do { if (a == b) true; a = getParent(a); } while (a != null); false; }