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

ItemEvent not triggered List,Choice,CheckBox,CheckboxMenuItem

    XMLWordPrintable

Details

    • generic, x86, sparc
    • solaris_2.5.1, solaris_10, windows_95, windows_nt

    Description

      OS: WinNT and Solaris

      ItemEvent is not triggered for List, Choice, CheckBox and CheckboxMenuItem when items are selected programmatically.

      When items are selected programmatically using the respective methods like
      list.select(index) , ItemEvent is not triggered.
      In this sample program, clicking the respective buttons changes the selection
      of items in that component programmatically. Triggering of events can be
      verified at the command prompt. Repeated clicking of the buttons will select


      How to reproduce the Bug? -------->

      Run this sample code. You would see a frame with a list,choice, checkbox,
      few buttons and a menu with checkbox menuitem.
      Click the buttons one after other and check at the command prompt, whether
      any ItemEvent is triggered or not. If not, bug is reproduced.
      NOTE: Clicking the buttons repeatedly selects a new item everytime to ensure
      that the item event is triggered everytime the button is clicked.

      Attachments

        Issue Links

          Activity

            People

              bchristi Brent Christian
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: