Could any of you tell me how to add short cuts to Menu. I tried using setShortcut,
but it did not work.

setShortcut is a method in MenuITem class, and Menu extends MenuItem. even
then it didnt work.

Any help is appreciated.