What happens when you kill Netbeans and Firefox?
Open Start > Settings > Privacy > Background apps
Disable all Background apps.
Also, check whats starting up with Windows.
Press Windows key + X
Click Task Manager
Click Startup tab
Disable all except Windows Defender.
Press Windows key + R
Type: msconfig
Hit Enter
Go to the services tab
Check the box,
hide all Microsoft services
Disable the remaining services
Click Apply then OK
Restart if prompted
Open Start, type: problem reports
Hit Enter
Delete any failed or pending reports.
Go to Start > Settings > System > Notifications and actions > Turn off "Show me tips about Windows."
If you have Chrome installed, uninstall then reinstall it.