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

wrong cursor used in drag-n-drop operations between native and java apps.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_8

      Description

      The bug is reported by EDS PLM Solutions in its development of new J2EE application. They notice different cursors are used in drag-n-drop operations
      between native and java applications.

      The problem is best illustrated with a java demo program (see the attachment).
      This java application always accepts drag:

        public void dragEnter (DropTargetDragEvent event) {
          event.acceptDrag (DnDConstants.ACTION_MOVE);
        }

      So you'd expect to see a cursor indicating that a drop is currently allowed when the drag enters and stay over the target window. But when I tries to drag a URL string from Netscape to the java window from its top title ("Drag and Drop Lists") border window, a different cursor is displayed, indicating that a drop is currently not allowed. That's clearly wrong. But it (cursor) looks right as expected if the drag enters the java window from anywhere else.

      This only occurs on Sun. It looks OK on Windows.

      The following configurations are tested:
      Solaris 8, Solaris 8 10/00
      Ultra 10, SunBlade 100
      Java 1.3, 1.3.1, 1.2.2

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: