If you accidentally deleted a project file or folder in NetBeans IDE, there is a simple way to recover them.
The NetBeans have an option to restore data from local history.
- Right click on the folder/directory that the files had been deleted.
- Choose Local History – Restore Deleted.
- You are done.
Do you need any help on NetBeans? I'm happy to help you.