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.
NetBeans IDE Dev (Build 200611121900) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Windows XP version 5.1 running on x86 en_US (nb); Cp1252 Main class generated while creating new project cannot be customized by template for java class. It looks always the same.
I'm not able to reproduce in 061120. I tried to open template for Java Class and Java Main Class from Template Manager and modified them and saved them. Then I created new class and main class from template and both were according to modified templates. Could you try to reproduce? Thanks.
Maybe it's a problem of the properties like _USER_, it seems that they do not work (JavaDataObject problem). The J2SEProjectGenerator code uses the main class template: Repository.getDefault().getDefaultFileSystem().findResource( "Templates/Classes/Main.java" ); It isn't j2seproject issue.
Sorry, my fault, I changed only template for common class not for the main class.
v.