title: Java MouseEvents not working
body: <p>This may be a stupid question, but I have to ask!</p>
  
  <p>I have the following code snippets that are supposed to run their corresponding methods when the user interacts with objects.
  For some reason, "foo" is never printed, but "bar" is.</p>
  
  <pre><code>myJSpinner1.addMouseListener(new java.awt.event.MouseAdapter() {
      public void mouseEntered(java.awt.event.MouseEvent evt) {
      System.out.println("foo"); //"foo" is not printed
    }
  });
  
  myJSpinner2.addChangeListener(new java.awt.event.ChangeListener() {
      public void stateChanged(java.awt.event.ChangeEvent evt) {
      System.out.println("bar"); //"bar" is printed
    }
  });
  </code></pre>
  
  <p>I get no exceptions or stack trace. What am I missing in the MouseListener one?
  Thanks in advance.</p>
  
  <p><strong>EDIT:</strong> MouseEntered works perfectly on a JCheckBox implemented in exactly the same way!</p>