What steps will reproduce the problem?
1. Open the "Plugin" menu and hover mouse over one of the checkbox entries.
2. Click one of the entries.
What is the expected output? What do you see instead?
Checkboxes in menus are supposed to be highlighted when hovering over them.
Clicking on a checkbox should close the menu.
Instead, there is no highlighting and clicking does not close the menu.
What version of the product are you using? On what operating system?
0.5.1 on Debian Linux with Metal look and feel
The problem is that PluginHandlerMenuBar adds JCheckBoxes to the menu bar
(lines 67-80). Instead, it should use JCheckBoxMenuItems.
The class documentation of JMenu says that menus may contain JMenuItems and
JSeparators, but no other classes. JCheckBoxMenuItem is a subclass of
JMenuItem, and therefore correct, while JCheckBox is not allowed.
Michael
Original issue reported on code.google.com by mich...@binaervarianz.de on 5 Feb 2012 at 1:05
Original issue reported on code.google.com by
mich...@binaervarianz.de
on 5 Feb 2012 at 1:05