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

Fake WINDOW_ACTIVATED/WINDOW_DEACTIVATED events generated

XMLWordPrintable

    • b03
    • x86
    • windows_nt


      Under Java Plugin we have a choice box in a frame/panel. When we try to open the cho1ice box by clicking on it, the whole panel flickers and the drop-down list does not come-up. Clicking two more times does result in it opening. Thepossible cause is that **sometimes** when we open the choice box the java.awt.Window which contains it recieves a de-activate event. We take an action when the de-activate event occurs that results in another component to receive focus thus causing the flicker and no drop-down. Clearly, no deactivate event should be delivered. (Occurs under win32).

      **************** Added below 07/30/98
      It is an applet to be run in plugin 1.1.1 ala netscape. Load it in and
      look at the Java Console. You will notice messages like Window Activated
      and Window Deactivated. Alternately open and close different different choice
      boxes. You will notice activate/deactivate events. There shouldn't be
      any...
      The problem's reproduced here *consistantly*.

            myangsunw Mingyao Yang (Inactive)
            bdoan Bao Doan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: