>>>>> Pete Wyckoff writes:
Pete> [EMAIL PROTECTED] said:
>> I'm trying to do drag'n'drop with Swing in JDK 1.2 pre1. However, all
>> the examples I've managed to find (well, all two of them, from
>> MiningCo and JavaWorld) give me this when I try to drag something:
>>
>> java.awt.dnd.InvalidDnDOperationException: The operation requested cannot be
performed by the DnD system since it is not in the appropriate state
>>
>> Is pre1 broken or am I doing something wrong?
Pete> Check the archives:
Pete> http://www.mail-archive.com/java-linux@java.blackdown.org/msg06579.html
Pete> Lightweight components seem not to have the XEvent data
Pete> required by the underlying Motif library to do drag-n-drop.
Pete> I have a native method fix to this, but it's not pretty.
Pete> If you find a solaris jdk1.2 and it successfully runs my
Pete> test code using Swing components, we'll know if it's linux
Pete> or java who is to blame.
It's a linux problem and it will be fixed in the next release.
Juergen
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]