On double click, NetBeans highlights all occurrences of a variable. How can I change this color? I've played with Tools->Options->Fonts & Colors, but can not find element responsible for this.
Try this :
In my case (Java / Netbeans 8.1)
Tools->Options->Fonts & Colors Syntax Select language "All Languages" Change "Mark Occurrences" Background