Setting Accelerator to F4 + Ctrl

Hi.I got few menu items like that:myNewMenuItem.setAccelerator(KeyStroke.getKeyStroke('N', Event.CTRL_MASK));i need to set up accelerator so certain menu item will react to F4 + Ctrl .and other menu item to F4 + Alt.Thanks ahead
[272 byte] By [bshulguna] at [2007-9-29 5:32:56]
# 1
Try:myNewMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F4, Event.CTRL_MASK));;o)V.V.
viravana at 2007-7-14 18:37:34 > top of Java-index,Archived Forums,Swing...