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

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.4.2
    • client-libs
    • x86
    • windows_xp

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: