Calling DragSource.getDefaultDragSource() hangs the DnD Applications in Win32

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P1
    • None
    • Affects Version/s: 1.4.0
    • Component/s: client-libs
    • x86
    • windows_nt

      When a call to DragSource.getDefaultDragSource() is made, the application hangs in Win32. This happens only in Merlin - Beta 31

      How to reporduce the Bug
      ========================

      Run the Sample program given below.
      See if both "Before..." and "After..." messages and the object is printed on the
      console. If the program just prints "Before..." and hangs, bug is reproduced.


      -----------GetDefaultDragSourceBug.java--------------

      import java.awt.dnd.*;

      //Method returns the DragSource object associated with the underlying platform

      public class GetDefaultDragSourceBug {

      public static void main(String args[]) {

      System.out.println("\nBefore calling getDefaultDragSource()");
      DragSource ds = DragSource.getDefaultDragSource();
      System.out.println("After calling getDefaultDragSource()");
      System.out.println("DragSource object : " + ds);
      }
      }

            Assignee:
            Das Das (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: