Does anybody know how to detect if this gets pushed. I've looked in KeyEvent, and it is not a KeyEvent that I know. What I have written works well in WinOs with mnemonics, but I've received complaints. Control X is not what users expect to use when closing a Mac application. They want to use Open Apple X, (also known as "flower x" or Apple Command Key and X. Thanks in advance.
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
i am a little as to what you are asking? is it mnemonic or accelarator that you have a problem with? mnemonic, as I understand, are driven by the meta key (Command key in MacOS) and that too from an open menu. could you please clarify. - satya
The Apple command ("flower") key should generated a KeyEvent.VK_META keycode. Also, to check whether or not a key combination has been pressed with the command key, check KeyEvent's getModifiers() for the KeyEvent.META_MASK.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.