title: Java InputVerifier find component who causes the "focus lost"
body: <p>I have an <code>InputVerifier</code> for a <code>jTextField</code> and of course the <code>InputVerifier</code> is triggered when I loose the focus of the text field for example through clicking on a button.</p>
  
  <p>If I would use a <code>FocusListener</code> I could do:</p>
  
  <pre><code>focusLost(FocusEvent e) {
  e.getOppositeComponent()
  }
  </code></pre>
  
  <p>which gives me the component which is the reason that the focus is lost in this case the clicked button.</p>
  
  <p>Is there a way to do something like this in an <code>InputVerifier</code> too ?
  Basically I need to know if the reason that the <code>InputVerifier</code> is triggered is because a button was pressed.</p>