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.
NB 3.5 build 200304062350 Linux JDK 1.4.1_02 Steps to reproduce: 1. choose some java folder 2. create class String into it 3. try to create some main class there Result: main class is created and opened in editor as already edited and in addition it has two equal main methods.
Somebody generate second main method after opening file in the Source Editor.
This is ugly but very unlikely to happen.
It works for me now. Please reopen it if you are still able to reproduce it.
verified