Aleksandrs Vitjukovs
10/27/2023, 6:25 PMKeyEvent
API (Modifier.onKeyEvent
/ onPreviewKeyEvent
), is there a nice high level way to detect an "Undo" as opposed to Ctrl+Z / Meta+Z?
And finally, what's a good cross-platform way of detecting Ctrl/Cmd+Key? I'm currently checking OS via System.getProperty
and looking for a matching modifier key.Kirill Grouchnikov
10/27/2023, 7:19 PM