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