In the target listener, clear the drag cursor on the last component, if any,
before setting a new one. This is needed because sometimes the mouseExited will not be called for the previous component, for example if it was hidden or a tab changed as a result of the drag over. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1164 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DnDManager.java,v 1.19 2003/05/20 17:35:51 ray Exp $
|
||||
// $Id: DnDManager.java,v 1.20 2003/07/09 02:03:34 ray Exp $
|
||||
|
||||
package com.samskivert.swing.dnd;
|
||||
|
||||
@@ -442,6 +442,7 @@ public class DnDManager
|
||||
}
|
||||
|
||||
// and check the cursor at the component level
|
||||
clearComponentCursor();
|
||||
setComponentCursor(newcomp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user