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

Checkbox state change generates 2 itemEvents on WindowsNT, one on Solaris

XMLWordPrintable

    • 1.1.1
    • generic, x86
    • solaris_2.5.1, windows_nt
    • Not verified

      The attached application brings up a checkbox.

      Each time the checkbox is clicked, 2 itemEvents are delivered on
      Windows NT, while only one is delivered on Solaris.

      To recreate the bug, run the attached application and click on the
      checkbox that comes up.

      The following output is produced on each of the platforms when the
      checkbox is clicked.

      Output on Solaris:
      gauri@apollo> java ChkBox
      State Changed: java.awt.event.ItemEvent[ITEM_STATE_CHANGED,item=Merlot,stateChange=SELECTED] on checkbox0

      Output on Windows NT:
      F:\jstuff\ChkBox>java ChkBox
      State Changed:
      java.awt.event.ItemEvent[ITEM_STATE_CHANGED,item=Merlot,stateChange=SELECTED] on checkbox0
      java.awt.event.ItemEvent[ITEM_STATE_CHANGED,item=Merlot,stateChange=SELECTED] on checkbox0

            tballsunw Tom Ball (Inactive)
            gaurisha Gauri Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: