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.
With the Current version of NB4.0 (200404061800), Impossible to drag a class from your project and drop it in the Main Class field nor right click on a class of your project and choose option 'set as Main Class of the project'.
...or have a package chooser etc. in the "Main Class" field in the customizer.
almost fixed, an user can choose project's Main Class in MainClassChooser invoked from the project's properties customizer or also invoked if a project has set no correct main class in its 'main.class' property. New item in java source's popup menu is tracked in issue 42885. DnD is not planned.
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.