I have a menu A which has a sub menu B.Menu B has items x,y,z. If i attach a mnemonic key to menu B,then when I press "ALT + A + B", nothing happens. i want the menu to show x,y,z menu items when i press "ALT + A + B". I find this function should have been inbuilt in java gui. But as this setup doesnt work, is there any other way to achieve this.