Gui- JMenu help
I created a JMenu with JMenuItems with options like a regular menu on Microsoft word. I know the JMenuItem class has a method called "isSelected()". However, where should I call this method in my class in order for this option to work. For example, the "open" JMenuItem should display a GUI to find what file to open. I tried to put this method in the actionPerformed method but it didn't work during runtime. Is there another interface I need to implement?

