title: Which actions button can fire in JavaFX?
body: <p>I just attempted a quiz and had following question.</p>
  
  <p><strong>Which of the following statements are true?</strong></p>
  
  <ol>
  <li>A Button can fire an ActionEvent.</li>
  <li>A Button can fire a MouseEvent. </li>
  <li>A Button can fire a KeyEvent.</li>
  <li>A TextField can fire an ActionEvent.</li>
  </ol>
  
  <p>I selected the first two options but it says wrong. The button ActionEvent and MouseEvent can be placed on button but not the KeyEvent. </p>
  
  <p>What are the right answers?</p>