United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7157342 : [macosx] Drag and Drop between JVM can not transfer non-English content correctly

Details
Type:
Bug
Submit Date:
2012-03-28
Status:
Closed
Updated Date:
2012-03-28
Project Name:
JDK
Resolved Date:
2012-03-28
Component:
client-libs
OS:
os_x
Sub-Component:
javax.swing
CPU:
x86
Priority:
P3
Resolution:
Duplicate
Affected Versions:
7u4
Fixed Versions:

Related Reports
Duplicate:

Sub Tasks

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.

                                    

Comments
EVALUATION

Most likely a duplicate of 7153735.
                                     
2012-03-28



Hardware and Software, Engineered to Work Together