I could go on and iterate over their parents using getParent() on each until i get to a shared parent or null, but this looks like a bad solution, is there a better approach?
Basiclly my use case is in a FocusListener, on focusLost() i want to know if i am losing focus to something thats outside my frame...