title: Ignore mousePressed
body: <p>I have a <code>mouseListener</code> on my <code>Component</code> and I need do the action on <code>mousePressed</code> in any case except one: if the <code>focus</code> is on another <code>window</code> and user clicks on my <code>Component</code>.</p>
  
  <p>How can I ignore the <code>mousePressed</code> for <code>Component</code> if the <code>focusOwner</code> was another <code>window</code> before <code>MouseEvent</code> was fired? The <code>FocusListener.focusGained</code> and checking the <code>focusOwner</code> at the click moment can't help.</p>
  
  <p><strong>UPD:</strong> My task is to detect the case when <code>focusGained</code> fired on cause of <code>mousePressed</code>.</p>