JMenu closes after checking/unchecking JCheckBoxMenuItems
801912Jun 9 2007 — edited Jun 12 2007I added a JMenu to an existing JPopupMenu, and added a few JCheckBoxMenuItems, followed by a JButton to the JMenu. Currently, when I open the JMenu and check/uncheck a JCheckBoxMenuItem, the JMenu closes.
So, my question is, how do I get the JPopupMenu, JMenu and all the JCheckBoxMenuItems to stay open while I click multiple JCheckBoxMenuItems? I basically want everything to stay open until I push the JButton. I believe this is possible, but I don't know how to go about it. And I need help ASAP. Thanks!