> You can at least check whether the problem is in the source
> data setup (i.e. a browser bug) or something wrong with the
> DnD in general by making your own drag source which provides
> different types of URLs.
The same app gets internal drags with my own DataFlavor, and
there, getting the data during the drag is no problem.
I've tried with Firefox and Safari, and both exhibit the same
problem, so I do believe that's a problem of Apple's Java
implementation. Maybe they just didn't see that
DropTargetDragEvent.getTransferable() was added in 1.5? But I
couldn't believe that nobody told them yet? And it doesn't seem
to be so hard to add, since the cursor even "knows" the URL being
dragged...
I'll file a bug.
Thanks - and if anybody else has any other ideas how to solve
this, would be great!
Florian
On 10/17/2007 8:19 PM, Timothy Wall wrote:
>
> On Oct 15, 2007, at 5:13 AM, Florian Bomers wrote:
>
>> thanks for responding. The list of dragged drag flavors are
>> not identical on different OS's/browsers, but the URL type
>> is always first. On Mac/Safari, the URL type exists as first
>> available drag flavor, but during the drag you cannot
>> access it. You cannot access any other drag flavor, either -
>> they all throw this exception.
>>
>> I'm baffled that a Google search on this exception does not
>> produce any results. Seems to me that getting the drag
>> contents while dragging is something you'd regularly do.
>> Especially on OSX...
>>
>
> It is a common action, which is why
> DropTargetDragEvent.getTransferable() got added in Java 1.5.
>
> You can at least check whether the problem is in the source
> data setup (i.e. a browser bug) or something wrong with the
> DnD in general by making your own drag source which provides
> different types of URLs.
>
>
--
Florian Bomers
Bome Software
-------------------------------------------------------
Music Software, Development Tools: http://www.bome.com
Java Sound extensions, plugins: http://www.tritonus.org
The Java Sound Resources: http://www.jsresources.org
-------------------------------------------------------
Please quote this email in your reply. Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden