Ted Jucevic wrote: > > I just downloaded your XMLMind application for Mac OS X, and I noticed > that all of your menu accelerators are CTRL, not the Command key on Mac > OS X. > > Java provides a cross platform way to get the Look and Feels menu > shortcut key mask. > > In java.awt.Toolkit the method > public int getMenuShortcutKeyMask ( ) > will return the proper short key mask for the L&F you are running on. > > This will give you Ctrl-Keys on Win, Solaris, etc.., but The Command Key > on Mac OS X.
Well, I've never noticed this method. Thanks for telling me about it. I'll not upgrade the M1.x prototype because it is in maintenance mode (aka dead) but I promess to use this method in the future XXE product to get a better cross platform LAF. (To do it really right, I must first get acquainted to the native Mac LAF, for example the typical usage of the Mac-specific keys such as Command.)

