sbool isGrandChildOf_limitedBy(Component a, Component b, Component outer) swing { if (a == b) true; while (a != outer && (a = getParent(a)) != null) if (a == b) true; false; }