title: JavaFX - Mouse Event not triggering
body: <p>Here is my code :</p>
  
  <pre><code>Button start = new Button("Start");
      start.setPrefHeight(100d);
      start.setMaxWidth(Double.MAX_VALUE);        
  
      start.setOnMouseClicked(new EventHandler&lt;MouseEvent&gt;(){
  
          @Override
          public void handle(MouseEvent arg0) {
              //ss.startServer();
              System.out.println("adfasddasfrwgafsdasdf");
          }
  
      });
  </code></pre>
  
  <p>The message does not get printed on the console at eclipse! I want the event to trigger when the mouse is released. What am I doing wrong?</p>
  
  <p>Upon furthet investagation I realised that if I have another mouseReleased event on another node , it will fire more events!... why is that?
  For example , here is the code I am using, when I press the start button , it prints Start and Reload!</p>
  
  <pre><code> start.setOnMouseReleased(new EventHandler&lt;MouseEvent&gt;(){
  
          @Override
          public void handle(MouseEvent arg0) {
              ss.startServer();
              System.out.println("Start");
              arg0.consume();
          }
  
  
      });
   Button stop = new Button("Stop");
      stop.setPrefHeight(100d);
      stop.setMaxWidth(Double.MAX_VALUE);
      stop.setOnMouseReleased(new EventHandler&lt;MouseEvent&gt;(){
  
          @Override
          public void handle(MouseEvent event) {
              sc.stopServer();
              System.out.println("Stop");
              event.consume();
          }
  
      });
      Button reload = new Button("Reload");
      reload.setPrefHeight(100d);
      reload.setMaxWidth(Double.MAX_VALUE);
      start.setOnMouseReleased(new EventHandler&lt;MouseEvent&gt;(){
  
          @Override
          public void handle(MouseEvent some) {
              sc.reloadServer();
              System.out.println("Reload");
              some.consume();
          }
  
      });
  </code></pre>
  
  <p>Stop button works properly!
  Anyway , if the other piece of code works , here it is(<a href="http://pastebin.com/4f55R2gN" rel="nofollow">http://pastebin.com/4f55R2gN</a>)</p>