<AWT Dev> DragSourceContext.updateCurrentCursor: override target action?
Denis S. Fokin
Denis.Fokin at Sun.COM
Tue Jun 17 03:55:50 PDT 2008
Hi Keith,
that is a known regression.
http://bugs.sun.com/view_bug.do?bug_id=6580469
The reverting of the fix (Mark provided you the patch) solves the problem.
Thank you,
Denis.
Mark Wielaard wrote:
> Hi Keith,
>
> On Mon, 2008-06-16 at 14:54 -0700, Keith Seitz wrote:
>> The problem is in updateCurrentCursor, which ignores the target action,
>> and simply hard codes it to DnDConstants.ACTION_NONE:
>> [...]
>> As a result of this override of targetAct, "ra" will _always_ evaluate
>> to false, and the code will never return a droppable cursor.
>>
>> Does this override serve a purpose that I am unable to guess?
>
> I didn't see a review on list, but the following patch seems to
> essentially do what you suggest:
> http://mail.openjdk.java.net/pipermail/awt-dev/2008-May/000253.html
>
> Cheers,
>
> Mark
>
More information about the awt-dev
mailing list