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 - Should be easier to define the main class of a project
Summary: Should be easier to define the main class of a project
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
Depends on:
Blocks: 41537
  Show dependency tree
Reported: 2004-04-14 22:36 UTC by vbrabant
Modified: 2006-03-24 09:55 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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
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.