static void scanForComponents(final Component c, final Class theClass, fL l) {
if (theClass.isInstance(c))
l.add((A) c);
if (c instanceof Container) swing {
for (Component comp : ((Container) c).getComponents())
scanForComponents(comp, theClass, l);
}
}