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.
[daily build #200511231900] Steps to reproduce: 1.Invoke main menu File|New Project 2.Select "Samples|General|GUI Form Examples" and push Next 3.Push Finish to crate project 4.The generated project is uncompilable The reason is that the Antenna class has main method like this: ------------------------------%<---------------------------------- public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new Antenna2().setVisible(true); } Antenna } ------------------------------%<---------------------------------- instead of: ------------------------------%<---------------------------------- public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new Antenna().setVisible(true); } }); } ------------------------------%<---------------------------------- Moreover the project has not main class set. This is not good sample project users could see and need to be fixed ASAP.
Fixed the compilation error. Main class for the project does not make sense here - the project does nothing, it is just a collection of various forms demonstrating layout design. It is still possible to execute the individual forms. /cvs/usersguide/j2seexamples/GUIFormExamples/src/examples/Antenna.java new revision: 1.2; previous revision: 1.1
Verified in daily builkd #200511241900.