Java FX, TextField, Keyboard handling
904910Dec 14 2011 — edited Dec 14 2011I need to look for specific characters that may be typed in a text field and perform an action accordingly. For example if the user hits F1 key while inside a textfield, i need to popup a different panel. I am using FXML to do the form layout. Please help mw with some example code. If I can set these functions at a global level (Scene) it would be even better way, for example no matter which ever text field use is on, I need to handle F1 key the same way.
Thank you