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

Choice triggers ItemEvent twice when the frame is iconified & restored on item selection, Win32

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      My application shows a frame with a choice. When the user selects an item from the choice, I am iconifying and restoring the frame through setExtendedState() method call. But on Win32, when the user selects an item I see the frame being iconified and restored twice since choice triggers an ItemEvent again when the frame is restored the first time.

      This is reproducible atleast since 1.4.2, only on Win32 and works fine on XToolkit.

      I have attached a sample test. Execute the sample test. Click on choice. A drop-down would appear. Press the down-arrow once the drop-down is visible. You will see the frame being iconified and restored twice.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alexp Alexander Potochkin (Inactive)
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: