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.
[nb_dev](20020308), [jdk1.4.1](04) && [jdk1.4](92) Steps tor reproduce: - open/create form - add JButton - select jButton1 in Component Inspector (CI) - try DnD to Other Components - leave left mouse button -> popup menu is showned , contains menu item "Paste" instead "Move" that isn't consistent with Explorer DnD behaviour
*** This issue has been marked as a duplicate of 21109 ***
Instead of duplicate set depends on issue 21109, sorry for confusing.
The heart of the problem is nb DnD overtakes the drop(==paste) actions from the node which is selected for drop. It seems that FormNode provides only a default Paste action w/o specification Move/Copy. It try assign on Form module. I ready to provide more information.
Can you tell me how to turn on the DnD?
DnD is enabled with -J-Dnetbeans.dnd.enabled=true (announced on nbdev) on jdk1.4. You can look too on Paste action in the FromNode's popup menu with Cut&Paste and with Copy&Paste operation.
Hmmm, when I try to drag&drop some component now, it is just moved and no popup menu is shown. As for me, it works well, I see no problem in form editor...
I see now ... the PasteType should just return "Move" as name for cut/paste and "Copy" for copy/paste operations.
Done.
verified in [nb_dev](20020419)
Resolved for 3.3.x or earlier, no new info since then -> closing.