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.
[ JDK VERSION : J2SE 1.5.0 ] 1. In the project explorer, expand the Source and Test folders. 1. Right click a project root and choose Properties. 2. Select "Run | Running Project" in the left tree. 3. Click the Browse button to the right of the Main Class field, and choose a different main class. 4. Click OK The Source and Test directories of that project in the project explorer will now automatically collapse. They should remain in the state they had prior to changing the main class.
*** This issue has been marked as a duplicate of 47451 ***
closed