public void setShowDropLocation (boolean showDropLocation)

Sets whether or not the drop location should be visually indicated for the transfer - which must represent a drop. This is applicable to those components that automatically show the drop location when appropriate during a drag and drop operation). By default, the drop location is shown only when the TransferHandler has said it can accept the import represented by this TransferSupport. With this method you can force the drop location to always be shown, or always not be shown.

This method is only for use with drag and drop transfers. Calling it when isDrop() is false results in an IllegalStateException.

Parameters:
showDropLocation    whether or not to indicate the drop location

Exceptions:
IllegalStateException    if this is not a drop

See also:
isDrop()