Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4516632

CheckboxMenuItem (still) does not fire ActionEvents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.3.1
    • client-libs
    • x86
    • windows_2000



      Name: yyT116575 Date: 10/18/2001


      java version "1.3.1_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
      Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

      The ActionEvents and ItemEvents are generated when JCheckboxMenuItem is
      selected (see Bugid: 4106427), but the java.awt.CheckboxMenuItem does not
      fire ActionEvents to assigned ActionListeners when selections are made (see
      Bugid: 4024569).

      This is not a documented behavior of this java.awt.MenuItem subclass, so
      either it should be documented as such, or the simple remedy of adding the line
      super.doMenuEvent();
      should be applied to the java.awt.CheckboxMenuItem.doMenuEvent() method.
      (Review ID: 134029)
      ======================================================================

            bchristi Brent Christian
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: