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.
Currently, delete action on a Java file just deletes this file from the disk. This is inconsistent with the Rename behavior, which calls the Refactoring Rename action. The behavior of delete should be similar - it should by default do Safe Delete. Or at the very least, the Refactoring Safe Delete action should be bound to the 'Delete' key shortcut, and simple delete could be e.g. Shift-Delete.
*** This issue has been marked as a duplicate of 76722 ***