title: How do you make ENTER trigger onAction for JavaFX globally?
body: <p>I saw in another question that this was the solution for when you want to press enter to trigger onAction</p>
  
  <pre><code>    btn.defaultButtonProperty().bind(item_btn.focusedProperty());
  </code></pre>
  
  <p>Is there a way to do this globally for all buttons, or will I have to initialize each component and go through every button and bind it this way?</p>