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

DnD : Focus get lost from the applet component when it is dragged out of the browser.

XMLWordPrintable

    • generic
    • generic

      When the applet is dragged out from the browser, the applet component which was focus owner looses its Focus.

      Steps to reproduce :

      1) Install Java6u10-b25 PIT (version which supports DnD)
      2) Load an applet into browser (IE/FF3) which is having few components in it, like testfield, buttons, textarea etc.
      (you can load http://sqindia.india/disk17/deployment/subrata/adhoc/testcode/DnD/html/MyFocusEvent.html)
      3) On load, TextField is having the Focus, try typing some keys
      4) Drag the applet (with ALT+LEFT CLICK), don;t minimize the browser.

      Now try typing some keys again, if the characters are not getting printed on the textfield, the bug is reproduced.

      Few Observations :
      1) The cursor keeps bliking on the text field but the focus is not really with the component.
      2) On minimize of the browser, the text field gets focus and now it is possible to type on the testfield.

            herrick Andy Herrick (Inactive)
            snathsunw Subrata Nath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: