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.
... now it`s placed in the SourceElement`s popup. I think it`s better to be on the class. One wants to execute the class not the source file, even though in a source file there can be at most one pu blic class with public static main() [jglick] There was a discussion about this on EAP. Actually there can be inner classes (public static) with main-methods which Java lets you execute. But the IDE does not. Currently there is just one ExecSupport per file, and this ExecSupport runs the main class and there is no way to configure it to run an inner class (other than writing your own executor, which is easy to do). In general adding exec supports for inner classes would require some API changes (probably) and not really be very nice, and I am not sure if it is worth it at all. So unless executing inner classes is actually support ed (that would be a long-term suggestion, reopen this one if you want to), IMHO there should not be execute action on the class nodes, because it would be misleading.
Resolved for 3.4.x or earlier, no new info since then -> verify
Resolved for 3.4.x or earlier, no new info since then -> closing.