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

[macosx] Drag and Drop between JVM can not transfer non-English content correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 7u4
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      Platform: Mac OS X 10.7.3
      JDK: 7u4 b17

      Compile attached java file, BasicDnD.java

      Run BasicDnD twice in different terminal session, so that BasicDnD will be invoked from differnt JVMs. There are two Java frames with some text in the textarea within it. The two frames are not invoked from one single JVM.

      Try to drag some text in one frame to the other. IF the non-English text are draged and droped to the other JTextArea (in another JVM) for the first time, the text will become question marks or garbled characters in the drop target. Something interesting is that, if we drag and drop the non-English contents for the second time, the data transfer will work fine. This problem happens in the DnD between components of different JVMs(not single JVM), and only happens in the first DnD for non-English contents.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kizune Alexander Zuev
              Reporter:
              yhuang Yong Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: