Hi,
I was making a menu bar for my JFrame, which contains a menu item named "Help".

I'm wondering how to make F1 a shortcut to that menu item. I thought of using .setAccelorator()., but that didn't seem to work.
So can you show me how?

Thanks!