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.
"[FFJ CUSTBUG]" When creating a JFrame using the JFrame template, the frame's name is set to JFrame - there's no way to specify a different name. If you later go to RENAME the class, the class definition line changes correctly, but the reference in the main method for this class remains unchanged. Should carry thru the rename throughout. To reproduce the rename problem , create a JFrame, then right click and choose rename and give a different name , then open the code you'll see that only the class name is renamed , but not in the main method etc.
When is creating JFrame using the JFrame template, you can specify name of new class. Only if you don't specify name, 'JFrame' is chosen. Until now, when you can rename form, you must change method in main() manually in editor.
I think this is a problem (if it is a problem) of java module. Reassigning...
It should be possible to specify a custom name for the newly created object: either at the first panel when invoked through context menu on the folder, or at the second panel when invoked through File | New. I think that the default value for the name is "<default>" which is translated to the template's own name. The rename works as designed, sadly. To trace & rename symbol referencies NetBeans would need a machinery to find those; we are still far away from implementing it (something may be ready in 4.0 release). Setting to invalid, there's already numerous RFEs regarding this, no need to create another duplicate.
Resolved for 3.4.x or earlier, no new info since then -> closing.