I have Place a JMenuBar in JFrame, now there is 15 JMenus inside JMenuBar and moreover there is more than 10 JMenuItems inside every JMenus.
Now it is very tough for me to first write more than 150 lines AddMouseListener for each JMenuBar component and similarly for JMenuItem,
and the more headache increases when you have to write like evt.getSource == JMenu1 or evt.getSource == JMenuItem1,
so finally what is my requirement to get MouseListener event performed for JMenu or JMenuItem specifically,
kindly help...