Starts the drag operation given the
Cursor
for this drag
operation and the
Transferable
representing the source data
for this drag operation.
Starts the drag operation given the
Cursor
for this drag
operation and the
Transferable
representing the source data
for this drag operation.
If a
null
Cursor
is specified no exception will
be thrown and default drag cursors will be used instead.
If a
null
Transferable
is specified
NullPointerException
will be thrown.
Parameters:
-
dragCursor - The
Cursor
for this drag operation
-
transferable - The
Transferable
representing the source
data for this drag operation.
Throws:
-
InvalidDnDOperationException
- if the Drag and Drop
system is unable to initiate a drag operation, or if the user
attempts to start a drag while an existing drag operation is
still executing.
-
NullPointerException
- if the
Transferable
is
null
.
Since:
1.4