title: Java JMenuItem Accelator Snow Leopard
body: <pre><code>about = new JMenuItem("About");
  about.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A((Toolkit.getDefaultToolkit().getMenuShortcutMask()))));
  JMenu help = new JMenu("Help");
  help.add(about);
  </code></pre>
  
  <p>I was wondering why my aaccelerators were not working. I am running this in snow leopard with JavaSe-1.6 VM. They do work if I pull the menu down then try the key sequence. Thanks</p>