title: JavaFX TextField : Automatically transform text to uppercase
body: <p>I have a JavaFX TextField control on my FXMl that looks like this...</p>
  
  <pre><code>&lt;TextField fx:id="input_search" onKeyPressed="#keyListener" prefHeight="25.0" prefWidth="197.0" /&gt;
  </code></pre>
  
  <p>I want to <strong>automatically</strong> change <em>all characters to <strong>uppercase</em></strong> when the user is typing. </p>
  
  <p>The code in my controller :</p>
  
  <pre><code>public void keyListener(KeyEvent event){
      //maybe transform the pressed key to uppercase here...
  }
  </code></pre>