You can also pass null as the image, which will stop the outline from
being displayed.
Thanks,
Sam
On Thursday, September 30, 2004, at 04:21 PM, Ian Cheyne wrote:
I'm using the Drag and Drop API to implement a drag box in a Panel as
well as to drag objects from one frame to another. In the event of
the user clicking on "empty space" in a Panel my code identifies that
this is a drag to select rather than a drag objects request. I use
the dragOver method on the DragSourceListener to paint the drag box.
However, because I am not dragging a dragImage the Mac also drags an
outline of the Panel from which I am dragging.
I can easily remedy this by setting the dragImage to be an invisible
and small image but is there any other way to prevent the drawing of
the Panel outline. A preference setting perhaps? or is my
"workaround" okay?
Ian Cheyne
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden