Thiago Milczarek Sayão
2018-10-25 19:14:07 UTC
With JavaFx that shipped with Oracle Java 10 I was able to do:
Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK)
This is used to get if caps lock key is On.
With OpenJfx 11 this call produces:
java.awt.HeadlessException: null
Is there a way to get the caps lock key state with openjfx?
Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK)
This is used to get if caps lock key is On.
With OpenJfx 11 this call produces:
java.awt.HeadlessException: null
Is there a way to get the caps lock key state with openjfx?