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.
If I 1) create a Platform Application, 2) add a module to it, 3) add a Java class to that module and 4) insert a main method. I can not run that file. Neither via the entry in the menubar nor the popup menu. The usecase would be to test some small featureset without having to copy it into another javase project for testing. >Log Session: Tuesday, April 12, 2011 2:59:13 PM CEST >System Info: Product Version = NetBeans IDE Dev (Build nbms-and-javadoc-7011-on-20110412) (#6d9087a33b35) Operating System = Windows 2000 version 5.0 running on x86 Java; VM; Vendor = 1.6.0_24; Java HotSpot(TM) Server VM 19.1-b02; Sun Microsystems Inc.
Already possible so long as the class is in Test Packages rather than Source Packages. (Need not use JUnit.) *** This bug has been marked as a duplicate of bug 66422 ***