This method of the FocusEvent Class retrieves the target component involved in the focus shift.
public Component getOtherComponent();
Returns the other component involved in the focus change (if any).