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

serious regression in dnd event delivery

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • generic
    • generic

      There has been a serious regression in the delivery of dnd events since the
      rewrite of the java.awt.dnd package. The DropTarget doesn't get called
      anymore when dragging from one Swing component to another. The attached
      program can be used to see the behavior. An example operation would be to
      drag a color from the color sample area of the color chooser and try to drop
      it on the label area at the top of the Transerable inspector (which will
      accept any drop).

      Dragging within a Swing component (such as within Notepad) does result in
      its DropTarget being called, but there is a regression in that behavior as
      well as the dragEnter method doesn't get called. This caused a null pointer
      exception to be generated. The most recent Swing integration has a workaround
      for that problem, but it should be fixed.

      The described behavior is seen on the win32 platform.

            dassunw Das Das (Inactive)
            tprinzinsunw Timothy Prinzing (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: