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

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

Reply via email to