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.

Bug 41981

Summary: Should be easier to define the main class of a project
Product: projects Reporter: vbrabant <vbrabant>
Component: Generic Projects UIAssignee: Jiri Rechtacek <jrechtacek>
Status: CLOSED FIXED    
Severity: blocker CC: jrojcek
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    

Description vbrabant 2004-04-14 22:36:28 UTC
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'.
Comment 1 Jesse Glick 2004-04-14 22:52:24 UTC
...or have a package chooser etc. in the "Main Class" field in the
customizer.
Comment 2 Jiri Rechtacek 2004-05-06 12:45:55 UTC
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.
Comment 3 Marian Mirilovic 2005-12-20 15:51:32 UTC
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.