How to obtain the name of the JMenuItem?

Printable View