Hi Scott,

On Fri, Sep 26, 2014 at 7:01 PM, Scott Palmer <swpal...@gmail.com> wrote:
> Note: With the second combination above I really wanted something that
> worked for both MINUS and SUBTRACT simultaneously - since they both type
> the same Character and only one accelerator can be set on a MenuItem.

according to Javadoc for KeyCharacterCombination#match (which I was
recently reminded to read), this would not work anyway, since

"The key character of this object is first translated to the key code
which is capable of producing the character in the current keyboard
layout and then the resulting key code together with the modifier keys
are matched against the key code and key modifiers from the KeyEvent."

It seems it just arbitrarily picks whatever key code can produce the character.

Best,
Tomas

Reply via email to