Hello,
I am trying to make a program I wrote in my java class more "mac friendly". My problem is my accelerators only work when I pull down the JMenu the JMenuItem is in. I am running this in snow leopard with JavaSe-1.6 VM. They are working like mnemonics more than shortcuts.... Thanks a lot!
about = new JMenuItem("About");
about.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A((Toolkit.getDefaultToo
lkit().getMenuShortcutMask()))));
JMenu help = new JMenu("Help");
help.add(about);
No replies to this topic
#1
Posted 09 December 2009 - 10:15 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account








