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

Clarify default drag cursor behavior in startDrag() methods

    Details

    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        If non-null cursor is passed to one of startDrag() methods
        of java.awt.dnd.DragGestureEvent or java.awt.dnd.DragSource
        classes, then during the DnD operation the cursor isn't
        updated. It's confusing for some users (for example,
        refer to the bugs 5018702, 4407521, 5101182, 5043688).
        Null cursor should be passed to startDrag() so that the
        cursor is updated during the DnD operation.

        There was the bug 4455820 on the same issue, but it was fixed
        poorly: some words about null cursor and the default drag cursor
        behavior were added only to the javadoc for the class
        java.awt.dnd.DragSourceContext. This isn't sufficient since
        programmers typically use startDrag() of DragGestureEvent and
        DragSource. So the null cursor behavior should be documented
        in startDrag() methods of DragGestureEvent and DragSource.

        ###@###.### 2004-09-15
        ###@###.### 2004-09-15

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  denis Denis Fokin (Inactive)
                  Reporter:
                  agerasimsunw Alexander Gerasimov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: