i was working on my NetBeans and i accidentally deleted a zip folder that was on my desktop...a very important all through netbeans on the left side of netbeans you can see all
In Netbeans, there is also the option of History->Revert Deleted.
e.g. right click on the object in the tree owning the object that was deleted, and choose the above menu option.
History retention is set from the Tools->Options menu, under the Miscellaneous tab and the Versioning systems in the left-hand pane. I think the default retention time is 7 days.