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.
Product Version: NetBeans IDE Dev (Build 200808061401) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) Create a new Java Application with one Java Class (javaclass.java) and one JFrame form. Open the JFrame form's designer. Try to drag javaclass.java from the Projects view above the form - you will get a warning (see the screenshot). I believe that warning should be displayed only when you drop the class. If you drag the class so that you miss the form designer (for example if you drag it above the toolbar), there is no problem and you can drop the file by the editor tabs in order to open that file.
Created attachment 66788 [details] screenshot
I agree, but lowering priority to P4 because it is IMHO a minor usability problem.
I agree with P4 and with the justification for it, but I would like this issue to be fixed one day - if someone uses d&d frequently for opening files (like me when I am tired:o)), he/she will suffer from this issue...
Dragging to form always creates the component instance when entering the form area so the previewed component can be placed in the layout. This works the same way if dragging from palette as well as if dragging a class from project. I don't think we should disable this feature for project view.