This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The code to support explorer D&D was written to support JDK 1.3. JDK 1.4 introduces much simplified D&D APIs which may behave better. The current system also is said to have problems on Mac OS X. Request a full code review of this system to see if it can be simplified and brought more into line with Swing recommendations for D&D implementation, hopefully reducing (1) code complexity, (2) bugs, (3) mismatches with platform-specific behaviors.
Some ideas from Chris Morley http://openide.netbeans.org/servlets/ReadMsg?msgId=548997&listName=dev about default drag actions. There is also UI spec about DnD: http://ui.netbeans.org/docs/dnd/dnddo_uispec.html.
Assigned to new owner.
i did some investigation of the new drag and drop support in jdk 1.4 and it's almost unusable. the new TransferHandler class does simplify d'n'd implementation but for simple components only. explorer views in netbeans need to know the cursor location when something is being dragged over them to find the appropriate drop Node. the TransferHandler class does not provide such information therefore it can allow/reject drop operation for the whole component only. so the explorer views still need to register droptarget listeners and dropsource listener to allow/reject the drop depending on the current node under the cursor.
A lot of this is getting fixed in Mustang... http://weblogs.java.net/blog/shan_man/archive/2006/01/
closig as per my previous comment. please reopen if necessary.