void (final FocusEvent e) { Component component = e.getOppositeComponent(); if (component != null && !SwingUtilities.isDescendingFrom(component, SoftReference.dereference(myTopComponent))) { focusLostImpl(e); } }