Trivia point of the day:
If you hide a MenuBar, then any accelerators you've hooked up via the
various MenuItem's setAccelerator() cease to function.
"That's annoying"
The solution is to create Actions, use Action's setAccelerator(), and
then Action's createMenuItem() to get yourself {drum role} a MenuItem,
which you can then use. And meanwhile the accelerators work regardless.
Yeay.
AfC
Sydney
|