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.
It's often used pracctise to write class, named as file, where it putted. I think, It's great idea: if you rename class through Refactoring tool it's should suggest you to rename also this file, if class name and filename are same at the moment.
*** This bug has been marked as a duplicate of bug 189820 ***