How to " RESET to DEFAULT " colors of text editor in NetBeans?
In Tools > Options > Fonts & Colors, change Profile from Norway Today to NetBeans.
Go to Tools\Options\Fonts & Colors
and click on the Restore
button.
The help page says:
Click Restore to restore the selected profile to the default settings.
You should go to tools>options>fonts & colors then set the profile to netbeans. that will restore the colors to default.
Alt + Shift + F does the wonder. Incidentally, I used to get this issue too frequently and I noticed that this appears / disappears every time I try the shortcut key for code format (Alt + Shift + F)