NetBeans has a background scanner which (from time to time) scans your folders and updates newly added files to your project. There are times when you want to force NetBeans to update folder files instead of waiting for the scheduled scan.
To perform this follow these steps:
1. Click Source in the top menu.
2. Select “Scan for External Changes”
It might take a little bit of time but this will refresh your folders with updated contents.