<AWT Dev> DragSourceContext.updateCurrentCursor: override target action?
Mark Wielaard
mwielaard at redhat.com
Tue Jun 17 00:35:51 PDT 2008
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