Two Microsoft / Sun bugs are shown in this page. If you check "checkme!", then normally the label should change to "uncheckme!". If you click either "checkme!" or "clickme!", a message like "CheckboxMenuItem (un)checked" or "MenuItem clicked" should appear in the applet (replacing the text "Right click here!").
  1. In Sun Java 1.3-1.3.1, 1.4beta2 (Netscape 6.x, AppletViewer), menu items do not detect events in the top level menu, neither "checkme!" nor "clickme! works. They work only in the submenu.
    (Note: IBM Java 1.3 do not have this bug)
  2. In MS Explorer 5.0 (Microsoft JVM), the state change of a CheckboxMenuItem is not detected in the top level menu. "checkme!" works only in the submenu.
  3. In MS Explorer 4.01, the events are detected, but the label change does not work at all for any MenuItem.

PopupCheckbox.java