Name: sdR10048 Date: 11/19/2001
Javadoc for
public DragSourceEvent(DragSourceContext��dsc)
public DragSourceEvent(DragSourceContext��dsc, int��x, int��y)
should declare expected reaction if 'dsc' param is null.
Currently JDK1.4beta3-b84 throws (for both ctors) IllegalArgumentException
and JDK1.4beta3-b84 javadoc says:
public DragSourceEvent(DragSourceContext��dsc)
Construct a DragSourceEvent given a specified DragSourceContext.
The coordinates for this DragSourceEvent are not specified,
so getLocation will return null for this event.
Parameters:
dsc - the DragSourceContext
SeeAlso:
getLocation()
public DragSourceEvent(DragSourceContext��dsc, int��x, int��y)
Construct a DragSourceEvent given a specified
DragSourceContext, and coordinates of the cursor
location.
Parameters:
dsc - the DragSourceContext
x - the horizontal coordinate for the cursor location
y - the vertical coordinate for the cursor location
Since:
1.4
For some more details see
http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method
======================================================================