so you are using
code: |
static KeyStroke getKeyStroke(Character keyChar, int modifiers)
Returns a shared instance of a KeyStroke that represents a KEY_TYPED event for the specified Character object and a set of modifiers.
|
but...
copthesaint @ Fri May 27, 2011 3:03 pm wrote:
What can I use just to set the accelerator as 'A' for example. without a meta, Shift Crtl mask.
and so the linked page also specifies
code: |
static KeyStroke getKeyStroke(char keyChar)
Returns a shared instance of a KeyStroke that represents a KEY_TYPED event for the specified character.
|
unless I'm misinterpreting something...