title: MouseListener on JFrame
body: <p>I want to be notified of mouse events (specifically the mouse entered and exited events) on my JFrame. But when i add a mouselistener to it i get the events on the borders of the frame not the entire frame with it's contents. </p>
  
  <p>Any ideas as to why?</p>
  
  <p><strong>EDIT : Or at least do you have an alternative? I want a "gloabal" way to catch mouse events on the JFrame. Maybe a mouselistener is not the answer.</strong></p>