title: button event still works with button disabled
body: <pre><code>private void button_Clicked_download(MouseEvent e) {
        button_dl.setEnabled(false);
        System.out.println("Button Clicked.");
  }
  </code></pre>
  
  <p>When I click the button the button looks disabled. However the button still executes the code under the MouseEvent and I see "Button Clicked." in the debug console.</p>
  
  <p>How can I make it so if the button is clicked it ignores the code and is indeed disabled?</p>