title: SWT issues with cascaded MenuItem accelerators
body: <p>The MenuItem objects having a <strong>SWT.CASCADE</strong> style (like 'File') won't drop down when the accelerator key combo is pressed.</p>
  
  <p>In the example below, pressing Alt-F triggers the Selection event (I see "File" in the console) but the menu itself won't drop down. I couldn't find a method to programmatically make the menu drop down either. Any idea?</p>
  
  <p>(The package I'm using is org.eclipse.swt.win32.win32.x86_64_3.100.0.v4233d.jar provided with the current version of Eclipse Juno.)</p>
  
  <pre><code>public class MenuTest {
      public static void main(String[] args) {
          Display display = new Display();
          final Shell shell = new Shell(display);
          shell.setLayout(new FillLayout());
  
          Menu menu = new Menu(shell, SWT.BAR);
  
          MenuItem item = new MenuItem(menu, SWT.CASCADE);
          item.setText("File");
          item.setAccelerator(SWT.ALT | 'F');
          Menu dropMenu = new Menu(shell, SWT.DROP_DOWN);
  
          item.setMenu(dropMenu);
          item.addSelectionListener(new SelectionAdapter() {
              public void widgetSelected(SelectionEvent event) {
                  System.out.println("File");
              }
          });
  
          item = new MenuItem(dropMenu, SWT.NULL);
          item.setText("Close");
          item.setAccelerator(SWT.ALT | SWT.F4);
          item.addSelectionListener(new SelectionAdapter() {
              public void widgetSelected(SelectionEvent event) {
                  System.out.println("Close");
                  shell.dispose();
              }
          });
  
          shell.setMenuBar(menu);
  
          shell.open();
          while (!shell.isDisposed()) {
              if (!display.readAndDispatch()) {
                  display.sleep();
              }
          }
          display.dispose();
      }
  }
  </code></pre>