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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7u4
    • client-libs

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: