-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0
-
1.2.2
-
sparc
-
solaris_2.5
Name: sdC67446 Date: 03/23/98
The DragSourceContext spec does not say anything about the expected
behavior of getCursor and setCursor if null is provided as the
value of the 'cursor' input parameter to setCursor.
null is an acceptable value for the 'cursor' parameter
(a NullPointerException is not thrown) in the case of setCursor; this
should be clearly stated in the spec, and the expected behavior in this
situation should be specified. Also, it should be specified that
getCursor() returns null if there is no cursor set on the component.
Here is what doc's quote:
--------------------------------------------------
public void setCursor(Cursor c)
change the drag cursor
public Cursor getCursor()
Returns:
the current drag cursor
--------------------------------------------------
======================================================================